From edcd940e492ce293cf6de3a44383a4efea86b71c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 Aug 2018 21:36:12 +0900 Subject: [PATCH] Fixed typedef-related warnings from compiler. Signed-off-by: Michele Calgaro (cherry picked from commit 2898366002a6b452ab80c225aa07f6c1774d0182) --- krename/ProgressDialog.h | 2 +- krename/batchrenamer.h | 10 +++++----- 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 #include -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;