Browse Source

Fixed typedef-related warnings from compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 9 months ago
parent
commit
2898366002
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
2 changed files with 6 additions and 6 deletions
  1. 1
    1
      krename/ProgressDialog.h
  2. 5
    5
      krename/batchrenamer.h

+ 1
- 1
krename/ProgressDialog.h View File

@@ -21,7 +21,7 @@
21 21
 #include <tqwidget.h>
22 22
 #include <kurl.h>
23 23
 
24
-typedef struct RenamedList
24
+struct RenamedList
25 25
 {
26 26
     KURL src;
27 27
     KURL dst;

+ 5
- 5
krename/batchrenamer.h View File

@@ -44,7 +44,7 @@ enum {
44 44
     COPY, MOVE, RENAME, PREVIEW, LINK
45 45
 };
46 46
 
47
-typedef struct fileentry {
47
+struct fileentry {
48 48
     TQString name;       // filename
49 49
     TQString directory;  // directory
50 50
     TQString extension;  // extension
@@ -52,7 +52,7 @@ typedef struct fileentry {
52 52
     KURL url;
53 53
 };
54 54
 
55
-typedef struct data {
55
+struct data {
56 56
     fileentry src;
57 57
     fileentry dst;
58 58
 
@@ -64,18 +64,18 @@ typedef struct data {
64 64
  * in the preview list view are
65 65
  * stored here.
66 66
  */
67
-typedef struct manualchanges {
67
+struct manualchanges {
68 68
     KURL url;      // input filename
69 69
     TQString user;  // name the user wants
70 70
 };
71 71
 
72
-typedef struct replacestrings {
72
+struct replacestrings {
73 73
     TQString find;      // Text to replace
74 74
     TQString replace;   // Replace with
75 75
     bool reg;          // is it a reg expression ?
76 76
 };
77 77
 
78
-typedef struct tCounterValues {
78
+struct tCounterValues {
79 79
     int value;  // current value of this counter
80 80
     int start;  // start value of this counter (for findResetCounter)
81 81
     int step;   // stepping value of this counter;

Loading…
Cancel
Save