summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-08-23 21:36:12 +0900
committerMichele Calgaro <[email protected]>2018-08-23 21:36:12 +0900
commit2898366002a6b452ab80c225aa07f6c1774d0182 (patch)
treea2aaa7170cb4066f82548898bfcaa667c468d89c
parentdf8dd27940209a752e6a1eadd07082abff7fe869 (diff)
downloadkrename-2898366002a6b452ab80c225aa07f6c1774d0182.tar.gz
krename-2898366002a6b452ab80c225aa07f6c1774d0182.zip
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <[email protected]>
-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;