summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformeventhandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/forms/kexiformeventhandler.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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