From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: TQt4 port kmymoney This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/widgets/transactioneditorcontainer.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kmymoney2/widgets/transactioneditorcontainer.h') diff --git a/kmymoney2/widgets/transactioneditorcontainer.h b/kmymoney2/widgets/transactioneditorcontainer.h index 01474ee..6cf82cf 100644 --- a/kmymoney2/widgets/transactioneditorcontainer.h +++ b/kmymoney2/widgets/transactioneditorcontainer.h @@ -21,10 +21,10 @@ // ---------------------------------------------------------------------------- // QT Includes -#include -#include -#include -class QWidget; +#include +#include +#include +class TQWidget; // ---------------------------------------------------------------------------- // KDE Includes @@ -42,17 +42,17 @@ typedef enum { ProtectAll } ProtectedAction; -class TransactionEditorContainer : public QTable +class TransactionEditorContainer : public TQTable { public: - TransactionEditorContainer(QWidget* parent, const char* name) : QTable(parent, name) {} + TransactionEditorContainer(TQWidget* tqparent, const char* name) : TQTable(tqparent, name) {} - virtual void arrangeEditWidgets(QMap& editWidgets, KMyMoneyRegister::Transaction* t) = 0; - virtual void removeEditWidgets(QMap& editWidgets) = 0; - virtual void tabOrder(QWidgetList& tabOrderWidgets, KMyMoneyRegister::Transaction* t) const = 0; + virtual void arrangeEditWidgets(TQMap& editWidgets, KMyMoneyRegister::Transaction* t) = 0; + virtual void removeEditWidgets(TQMap& editWidgets) = 0; + virtual void tabOrder(TQWidgetList& tabOrderWidgets, KMyMoneyRegister::Transaction* t) const = 0; // FIXME remove tabbar - // virtual int action(QMap& editWidgets) const = 0; - // virtual void setProtectedAction(QMap& editWidgets, ProtectedAction action) = 0; + // virtual int action(TQMap& editWidgets) const = 0; + // virtual void setProtectedAction(TQMap& editWidgets, ProtectedAction action) = 0; }; #endif -- cgit v1.2.1