summaryrefslogtreecommitdiffstats
path: root/kexi
diff options
context:
space:
mode:
Diffstat (limited to 'kexi')
-rw-r--r--kexi/core/kexistartupdata.h2
-rw-r--r--kexi/kexidb/cursor.h2
-rw-r--r--kexi/kexiutils/validator.h2
-rw-r--r--kexi/main/startup/KexiStartupFileDialog.h2
-rw-r--r--kexi/widget/tableview/kexitableview.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/kexi/core/kexistartupdata.h b/kexi/core/kexistartupdata.h
index f31c82bf..c9c74848 100644
--- a/kexi/core/kexistartupdata.h
+++ b/kexi/core/kexistartupdata.h
@@ -29,7 +29,7 @@ class KexiProjectData;
class KEXICORE_EXPORT KexiStartupData
{
public:
- typedef enum Action {
+ enum Action {
DoNothing,
CreateBlankProject,
CreateFromTemplate,
diff --git a/kexi/kexidb/cursor.h b/kexi/kexidb/cursor.h
index 8efeabb2..6f8e4d1e 100644
--- a/kexi/kexidb/cursor.h
+++ b/kexi/kexidb/cursor.h
@@ -254,7 +254,7 @@ class KEXI_DB_EXPORT Cursor: public TQObject, public Object
protected:
//! possible results of row fetching, used for m_result
- typedef enum FetchResult { FetchError=0, FetchOK=1, FetchEnd=2 };
+ enum FetchResult { FetchError=0, FetchOK=1, FetchEnd=2 };
/*! Cursor will operate on \a conn, raw \a statement will be used to execute query. */
Cursor(Connection* conn, const TQString& statement, uint options = NoOptions );
diff --git a/kexi/kexiutils/validator.h b/kexi/kexiutils/validator.h
index 88d76b06..b3e77b9d 100644
--- a/kexi/kexiutils/validator.h
+++ b/kexi/kexiutils/validator.h
@@ -45,7 +45,7 @@ namespace KexiUtils {
class KEXIUTILS_EXPORT Validator : public TQValidator
{
public:
- typedef enum Result { Error = 0, Ok = 1, Warning = 2 };
+ enum Result { Error = 0, Ok = 1, Warning = 2 };
Validator(TQObject * parent = 0, const char * name = 0);
virtual ~Validator();
diff --git a/kexi/main/startup/KexiStartupFileDialog.h b/kexi/main/startup/KexiStartupFileDialog.h
index e27f200d..61937265 100644
--- a/kexi/main/startup/KexiStartupFileDialog.h
+++ b/kexi/main/startup/KexiStartupFileDialog.h
@@ -42,7 +42,7 @@ public:
- SavingServerBasedDB saves server-based (shortcut) file
- CustomOpening can be used for opening other files, like CSV
*/
- typedef enum Mode {
+ enum Mode {
Opening = 1,
SavingFileBasedDB = 2,
SavingServerBasedDB = 4,
diff --git a/kexi/widget/tableview/kexitableview.h b/kexi/widget/tableview/kexitableview.h
index 2e1d83fd..6142d4cd 100644
--- a/kexi/widget/tableview/kexitableview.h
+++ b/kexi/widget/tableview/kexitableview.h
@@ -236,7 +236,7 @@ public:
//! single shot after 1ms for contents updatinh
void triggerUpdate();
- typedef enum ScrollDirection
+ enum ScrollDirection
{
ScrollUp,
ScrollDown,