Browse Source

Fixed typedef-related warnings from compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 1 year 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 @@
#include <tqwidget.h>
#include <kurl.h>

typedef struct RenamedList
struct RenamedList
{
KURL src;
KURL dst;

+ 5
- 5
krename/batchrenamer.h View File

@@ -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;

Loading…
Cancel
Save