summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/database.h')
-rw-r--r--kdevdesigner/designer/database.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kdevdesigner/designer/database.h b/kdevdesigner/designer/database.h
index 530085fb..600018ed 100644
--- a/kdevdesigner/designer/database.h
+++ b/kdevdesigner/designer/database.h
@@ -27,13 +27,13 @@
#ifndef DATABASE_H
#define DATABASE_H
-#include "qfeatures.h"
+#include "tqfeatures.h"
#ifndef QT_NO_SQL
-#include <qdataview.h>
-#include <qdatabrowser.h>
-#include <qsqlcursor.h>
-#include <qstring.h>
+#include <tqdataview.h>
+#include <tqdatabrowser.h>
+#include <tqsqlcursor.h>
+#include <tqstring.h>
class QSqlDatabase;
class QSqlForm;
@@ -44,38 +44,38 @@ public:
DatabaseSupport();
virtual ~DatabaseSupport() {}
- void initPreview( const QString &connection, const QString &table, QObject *o,
- const QMap<QString, QString> &databaseControls );
+ void initPreview( const TQString &connection, const TQString &table, TQObject *o,
+ const TQMap<TQString, TQString> &databaseControls );
protected:
- QSqlDatabase* con;
- QSqlForm* frm;
- QString tbl;
- QMap<QString, QString> dbControls;
- QObject *parent;
+ TQSqlDatabase* con;
+ TQSqlForm* frm;
+ TQString tbl;
+ TQMap<TQString, TQString> dbControls;
+ TQObject *parent;
};
-class QDesignerDataBrowser : public QDataBrowser, public DatabaseSupport
+class QDesignerDataBrowser : public TQDataBrowser, public DatabaseSupport
{
Q_OBJECT
public:
- QDesignerDataBrowser( QWidget *parent, const char *name );
+ QDesignerDataBrowser( TQWidget *parent, const char *name );
protected:
- bool event( QEvent* e );
+ bool event( TQEvent* e );
};
-class QDesignerDataView : public QDataView, public DatabaseSupport
+class QDesignerDataView : public TQDataView, public DatabaseSupport
{
Q_OBJECT
public:
- QDesignerDataView( QWidget *parent, const char *name );
+ QDesignerDataView( TQWidget *parent, const char *name );
protected:
- bool event( QEvent* e );
+ bool event( TQEvent* e );
};
#endif