summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/queries/kexiquerypart.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/queries/kexiquerypart.h')
-rw-r--r--kexi/plugins/queries/kexiquerypart.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/kexi/plugins/queries/kexiquerypart.h b/kexi/plugins/queries/kexiquerypart.h
index 6b16f28d..aee905e6 100644
--- a/kexi/plugins/queries/kexiquerypart.h
+++ b/kexi/plugins/queries/kexiquerypart.h
@@ -18,10 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef KEXIQUERYPART_H
-#define KEXIQUERYPART_H
+#ifndef KEXITQUERYPART_H
+#define KEXITQUERYPART_H
-#include <qmap.h>
+#include <tqmap.h>
#include <kexidialogbase.h>
#include <kexipart.h>
@@ -44,9 +44,10 @@ class KexiProject;
class KexiQueryPart : public KexiPart::Part
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiQueryPart(QObject *parent, const char *name, const QStringList &);
+ KexiQueryPart(TQObject *tqparent, const char *name, const TQStringList &);
virtual ~KexiQueryPart();
virtual bool remove(KexiMainWindow *win, KexiPart::Item &item);
@@ -56,7 +57,7 @@ class KexiQueryPart : public KexiPart::Part
public KexiDB::Connection::TableSchemaChangeListenerInterface
{
public:
- TempData(KexiDialogBase* parent, KexiDB::Connection *conn);
+ TempData(KexiDialogBase* tqparent, KexiDB::Connection *conn);
virtual ~TempData();
virtual tristate closeListener();
void clearQuery();
@@ -65,7 +66,7 @@ class KexiQueryPart : public KexiPart::Part
/*! Assigns query \a query for this data.
Existing query (available using query()) is deleted but only
- if it is not owned by parent dialog (i.e. != KexiDialogBase::schemaData()).
+ if it is not owned by tqparent dialog (i.e. != KexiDialogBase::schemaData()).
\a query can be 0.
If \a query is equal to existing query, nothing is performed.
*/
@@ -91,18 +92,18 @@ class KexiQueryPart : public KexiPart::Part
KexiDB::QuerySchema *m_query;
};
- virtual QString i18nMessage(const QCString& englishMessage,
+ virtual TQString i18nMessage(const TQCString& englishMessage,
KexiDialogBase* dlg) const;
/*! Renames stored data pointed by \a item to \a newName.
Reimplemented to mark the query obsolete by using KexiDB::Connection::setQuerySchemaObsolete(). */
- virtual tristate rename(KexiMainWindow * win, KexiPart::Item & item, const QString& newName);
+ virtual tristate rename(KexiMainWindow * win, KexiPart::Item & item, const TQString& newName);
protected:
virtual KexiDialogTempData* createTempData(KexiDialogBase* dialog);
- virtual KexiViewBase* createView(QWidget *parent, KexiDialogBase* dialog,
- KexiPart::Item &item, int viewMode = Kexi::DataViewMode, QMap<QString,QString>* staticObjectArgs = 0);
+ virtual KexiViewBase* createView(TQWidget *tqparent, KexiDialogBase* dialog,
+ KexiPart::Item &item, int viewMode = Kexi::DataViewMode, TQMap<TQString,TQString>* staticObjectArgs = 0);
// virtual void initPartActions( KActionCollection *col );
// virtual void initInstanceActions( int mode, KActionCollection *col );