diff options
Diffstat (limited to 'kdevdesigner/uilib/database2.h')
-rw-r--r-- | kdevdesigner/uilib/database2.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdevdesigner/uilib/database2.h b/kdevdesigner/uilib/database2.h index 05a04712..2efc5c04 100644 --- a/kdevdesigner/uilib/database2.h +++ b/kdevdesigner/uilib/database2.h @@ -27,13 +27,13 @@ #ifndef DATABASE2_H #define DATABASE2_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: DatabaseSupport2(); virtual ~DatabaseSupport2() {} - 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 QDesignerDataBrowser2 : public QDataBrowser, public DatabaseSupport2 +class QDesignerDataBrowser2 : public TQDataBrowser, public DatabaseSupport2 { Q_OBJECT public: - QDesignerDataBrowser2( QWidget *parent, const char *name ); + QDesignerDataBrowser2( TQWidget *parent, const char *name ); protected: - bool event( QEvent* e ); + bool event( TQEvent* e ); }; -class QDesignerDataView2 : public QDataView, public DatabaseSupport2 +class QDesignerDataView2 : public TQDataView, public DatabaseSupport2 { Q_OBJECT public: - QDesignerDataView2( QWidget *parent, const char *name ); + QDesignerDataView2( TQWidget *parent, const char *name ); protected: - bool event( QEvent* e ); + bool event( TQEvent* e ); }; |