Fixed typedef-related warnings from compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 6 years ago
parent 5fa5b51c6b
commit 91f727b4dd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -146,7 +146,7 @@ private:
{ {
return (str1.isEmpty() && str2.isEmpty()) || (str1 == str2); return (str1.isEmpty() && str2.isEmpty()) || (str1 == str2);
} ; } ;
typedef enum eqFlagsType enum eqFlagsType
{ {
eqFlagsName=0x1, eqFlagsName=0x1,
eqFlagsAdress=0x2, eqFlagsAdress=0x2,

@ -32,7 +32,7 @@
#include <tqvaluelist.h> #include <tqvaluelist.h>
#include "syncAction.h" #include "syncAction.h"
typedef enum eExistItems { enum eExistItems {
eExistsPC=0x1, eExistsPalm=0x2, eExistsBackup=0x4, eExistsPC=0x1, eExistsPalm=0x2, eExistsBackup=0x4,
eExistsAll=eExistsPC|eExistsPalm|eExistsBackup eExistsAll=eExistsPC|eExistsPalm|eExistsBackup
}; };

@ -33,7 +33,7 @@
class docSyncInfo; class docSyncInfo;
typedef TQValueList<docSyncInfo> syncInfoList; typedef TQValueList<docSyncInfo> syncInfoList;
typedef enum eSyncDirectionEnum { enum eSyncDirectionEnum {
eSyncNone, eSyncNone,
// eSyncAll, // eSyncAll,
eSyncPDAToPC, eSyncPDAToPC,
@ -41,7 +41,8 @@ typedef enum eSyncDirectionEnum {
eSyncDelete, eSyncDelete,
eSyncConflict eSyncConflict
}; };
typedef enum eTexStatus {
enum eTexStatus {
eStatNone=0, eStatNone=0,
eStatNew=1, eStatNew=1,
eStatChanged=2, eStatChanged=2,

@ -42,7 +42,7 @@ class TQTimer;
class KPilotLink; class KPilotLink;
typedef struct conflictEntry { struct conflictEntry {
TQLabel*dbname; TQLabel*dbname;
TQComboBox* resolution; TQComboBox* resolution;
TQPushButton*info; TQPushButton*info;

Loading…
Cancel
Save