summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 20:55:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 20:55:33 +0900
commit91f727b4dd0b73e8cdbff599ef17a0a5157aad7c (patch)
treeac02b21b28eacf0ac581b10b2826391f1af0a13c
parent5fa5b51c6be3a02ab20f6e7ad2a2dd7bf8f2592b (diff)
downloadkpilot-91f727b4.tar.gz
kpilot-91f727b4.zip
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--conduits/abbrowserconduit/abbrowser-conduit.h2
-rw-r--r--conduits/abbrowserconduit/resolutionTable.h2
-rw-r--r--conduits/docconduit/doc-conduit.h5
-rw-r--r--conduits/docconduit/doc-conflictdialog.h2
4 files changed, 6 insertions, 5 deletions
diff --git a/conduits/abbrowserconduit/abbrowser-conduit.h b/conduits/abbrowserconduit/abbrowser-conduit.h
index 3f017eb..e652e40 100644
--- a/conduits/abbrowserconduit/abbrowser-conduit.h
+++ b/conduits/abbrowserconduit/abbrowser-conduit.h
@@ -146,7 +146,7 @@ private:
{
return (str1.isEmpty() && str2.isEmpty()) || (str1 == str2);
} ;
- typedef enum eqFlagsType
+ enum eqFlagsType
{
eqFlagsName=0x1,
eqFlagsAdress=0x2,
diff --git a/conduits/abbrowserconduit/resolutionTable.h b/conduits/abbrowserconduit/resolutionTable.h
index 51c2519..6a4f9e6 100644
--- a/conduits/abbrowserconduit/resolutionTable.h
+++ b/conduits/abbrowserconduit/resolutionTable.h
@@ -32,7 +32,7 @@
#include <tqvaluelist.h>
#include "syncAction.h"
-typedef enum eExistItems {
+enum eExistItems {
eExistsPC=0x1, eExistsPalm=0x2, eExistsBackup=0x4,
eExistsAll=eExistsPC|eExistsPalm|eExistsBackup
};
diff --git a/conduits/docconduit/doc-conduit.h b/conduits/docconduit/doc-conduit.h
index a152072..83fec83 100644
--- a/conduits/docconduit/doc-conduit.h
+++ b/conduits/docconduit/doc-conduit.h
@@ -33,7 +33,7 @@
class docSyncInfo;
typedef TQValueList<docSyncInfo> syncInfoList;
-typedef enum eSyncDirectionEnum {
+enum eSyncDirectionEnum {
eSyncNone,
// eSyncAll,
eSyncPDAToPC,
@@ -41,7 +41,8 @@ typedef enum eSyncDirectionEnum {
eSyncDelete,
eSyncConflict
};
-typedef enum eTexStatus {
+
+enum eTexStatus {
eStatNone=0,
eStatNew=1,
eStatChanged=2,
diff --git a/conduits/docconduit/doc-conflictdialog.h b/conduits/docconduit/doc-conflictdialog.h
index 410a1cd..ddd392e 100644
--- a/conduits/docconduit/doc-conflictdialog.h
+++ b/conduits/docconduit/doc-conflictdialog.h
@@ -42,7 +42,7 @@ class TQTimer;
class KPilotLink;
-typedef struct conflictEntry {
+struct conflictEntry {
TQLabel*dbname;
TQComboBox* resolution;
TQPushButton*info;