diff options
Diffstat (limited to 'kexi/core/kexiuseraction.h')
-rw-r--r-- | kexi/core/kexiuseraction.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kexi/core/kexiuseraction.h b/kexi/core/kexiuseraction.h index 822220f0..71ca1819 100644 --- a/kexi/core/kexiuseraction.h +++ b/kexi/core/kexiuseraction.h @@ -10,7 +10,7 @@ namespace KexiDB class Cursor; } class KexiMainWindow; -typedef QValueVector<QVariant> Arguments; +typedef TQValueVector<TQVariant> Arguments; /*! action that can be defined by a user for a special scope e.g. main, form ... the actions can have some predefined \ref Methods which are described in \ref KexiUserActionMethod @@ -19,6 +19,7 @@ typedef QValueVector<QVariant> Arguments; class KEXICORE_EXPORT KexiUserAction : public KAction { Q_OBJECT + TQ_OBJECT public: /*! bytecode of available methods */ @@ -47,15 +48,15 @@ class KEXICORE_EXPORT KexiUserAction : public KAction /*! constructs an action \note methods are associated using setMethod() */ - KexiUserAction(KexiMainWindow *context, KActionCollection *parent, const QString &name, const QString &text, const QString &pixmap); + KexiUserAction(KexiMainWindow *context, KActionCollection *tqparent, const TQString &name, const TQString &text, const TQString &pixmap); ~KexiUserAction(); /*! sets execution information associated with this action this will mostly look like \code KexiUserAction *action = new KexiUserAction(...); Arguments arg; - arg.append(QVariant("kexi/form")); - arg.append(QVariant("main")); + arg.append(TQVariant("kexi/form")); + arg.append(TQVariant("main")); action->setMethod(KexiUserAction::OpenAction, arg); \endcode */ @@ -63,7 +64,7 @@ class KEXICORE_EXPORT KexiUserAction : public KAction /*! creates a KexiUserAction from current record in \a c mostly needed for creation from kexi__useractions table */ - static KexiUserAction *fromCurrentRecord(KexiMainWindow *context, KActionCollection *parent, KexiDB::Cursor *c); + static KexiUserAction *fromCurrentRecord(KexiMainWindow *context, KActionCollection *tqparent, KexiDB::Cursor *c); protected slots: /*! actually executes the associated method |