summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 21:36:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 21:36:28 +0900
commitedcd940e492ce293cf6de3a44383a4efea86b71c (patch)
treeeaea0367677ed6cdc90dd5f1b3c65d0059c9366d
parent96a944e73c8dd5bf55537ee41de8da5c5db525a4 (diff)
downloadkrename-edcd940e492ce293cf6de3a44383a4efea86b71c.tar.gz
krename-edcd940e492ce293cf6de3a44383a4efea86b71c.zip
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2898366002a6b452ab80c225aa07f6c1774d0182)
-rw-r--r--krename/ProgressDialog.h2
-rw-r--r--krename/batchrenamer.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/krename/ProgressDialog.h b/krename/ProgressDialog.h
index cfd9528..2ca968c 100644
--- a/krename/ProgressDialog.h
+++ b/krename/ProgressDialog.h
@@ -21,7 +21,7 @@
#include <tqwidget.h>
#include <kurl.h>
-typedef struct RenamedList
+struct RenamedList
{
KURL src;
KURL dst;
diff --git a/krename/batchrenamer.h b/krename/batchrenamer.h
index 531a33c..d024edf 100644
--- a/krename/batchrenamer.h
+++ b/krename/batchrenamer.h
@@ -44,7 +44,7 @@ enum {
COPY, MOVE, RENAME, PREVIEW, LINK
};
-typedef struct fileentry {
+struct fileentry {
TQString name; // filename
TQString directory; // directory
TQString extension; // extension
@@ -52,7 +52,7 @@ typedef struct fileentry {
KURL url;
};
-typedef struct data {
+struct data {
fileentry src;
fileentry dst;
@@ -64,18 +64,18 @@ typedef struct data {
* in the preview list view are
* stored here.
*/
-typedef struct manualchanges {
+struct manualchanges {
KURL url; // input filename
TQString user; // name the user wants
};
-typedef struct replacestrings {
+struct replacestrings {
TQString find; // Text to replace
TQString replace; // Replace with
bool reg; // is it a reg expression ?
};
-typedef struct tCounterValues {
+struct tCounterValues {
int value; // current value of this counter
int start; // start value of this counter (for findResetCounter)
int step; // stepping value of this counter;