summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformeventhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexiformeventhandler.h')
-rw-r--r--kexi/plugins/forms/kexiformeventhandler.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/forms/kexiformeventhandler.h b/kexi/plugins/forms/kexiformeventhandler.h
index e92e9ff9..6e020e25 100644
--- a/kexi/plugins/forms/kexiformeventhandler.h
+++ b/kexi/plugins/forms/kexiformeventhandler.h
@@ -20,7 +20,7 @@
#ifndef KEXIFORMEVENTHANDLER_H
#define KEXIFORMEVENTHANDLER_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kaction.h>
class KexiMainWindow;
@@ -47,10 +47,10 @@ class KEXIFORMUTILS_EXPORT KexiFormEventHandler
to appropriate actions.
For now, all of them must be KexiPushButton).
\a mainWin is used to get action list. */
- void setMainWidgetForEventHandling(KexiMainWindow *mainWin, QWidget* mainWidget);
+ void setMainWidgetForEventHandling(KexiMainWindow *mainWin, TQWidget* mainWidget);
protected:
- QWidget *m_mainWidget;
+ TQWidget *m_mainWidget;
};
//! @internal form-level action for handling "on click" actions
@@ -72,20 +72,20 @@ class KEXIFORMUTILS_EXPORT KexiFormEventAction : public KAction
\a ok is set to true on success and to false on failure. On failure no other
values are passed.
\return part info if action type is "table", "query", etc., or 0 for "kaction" type. */
- KexiPart::Info* decodeString(QString& actionType, QString& actionArg, bool& ok) const;
+ KexiPart::Info* decodeString(TQString& actionType, TQString& actionArg, bool& ok) const;
//! \return true if the action is empty
bool isEmpty() const;
- QString string; //!< action string with prefix, like "kaction:edit_copy" or "table:<tableName>"
+ TQString string; //!< action string with prefix, like "kaction:edit_copy" or "table:<tableName>"
- QString option; //!< option used when name is "table/query/etc.:\<objectName\>" is set;
+ TQString option; //!< option used when name is "table/query/etc.:\<objectName\>" is set;
//!< can be set to "open", "design", "editText", etc.
//!< @see ActionToExecuteListView::showActionsForMimeType()
};
- KexiFormEventAction(KexiMainWindow *mainWin, QObject* parent, const QString& actionName,
- const QString& objectName, const QString& actionOption);
+ KexiFormEventAction(KexiMainWindow *mainWin, TQObject* tqparent, const TQString& actionName,
+ const TQString& objectName, const TQString& actionOption);
virtual ~KexiFormEventAction();
public slots:
@@ -95,7 +95,7 @@ class KEXIFORMUTILS_EXPORT KexiFormEventAction : public KAction
private:
KexiMainWindow *m_mainWin;
- QString m_actionName, m_objectName, m_actionOption;
+ TQString m_actionName, m_objectName, m_actionOption;
};
#endif