summaryrefslogtreecommitdiffstats
path: root/kmymoney2/plugins/viewinterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/plugins/viewinterface.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
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
Diffstat (limited to 'kmymoney2/plugins/viewinterface.h')
-rw-r--r--kmymoney2/plugins/viewinterface.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/kmymoney2/plugins/viewinterface.h b/kmymoney2/plugins/viewinterface.h
index d7c7424..edec926 100644
--- a/kmymoney2/plugins/viewinterface.h
+++ b/kmymoney2/plugins/viewinterface.h
@@ -25,10 +25,10 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qobject.h>
-#include <qstring.h>
-#include <qpixmap.h>
-class QFrame;
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqpixmap.h>
+class TQFrame;
// ----------------------------------------------------------------------------
// KDE Includes
@@ -53,27 +53,28 @@ namespace KMyMoneyPlugin {
* add new view pages to the JanusWidget of KMyMoney. It
* also gives access to the account context menu.
*/
-class KMYMONEY_EXPORT ViewInterface : public QObject {
+class KMYMONEY_EXPORT ViewInterface : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- ViewInterface(QObject* parent, const char* name = 0);
+ ViewInterface(TQObject* tqparent, const char* name = 0);
~ViewInterface() {}
/**
* This method creates a new page in the application.
* See KJanusWidget::addPage() for details.
*/
- virtual KMyMoneyViewBase* addPage(const QString& item, const QString& icon) = 0;
+ virtual KMyMoneyViewBase* addPage(const TQString& item, const TQString& icon) = 0;
/**
- * This method adds a widget to the layout of the view
+ * This method adds a widget to the tqlayout of the view
* created with addPage()
*
* @param view pointer to view widget
* @param w widget to be added to @p page
*/
- virtual void addWidget(KMyMoneyViewBase* view, QWidget* w) = 0;
+ virtual void addWidget(KMyMoneyViewBase* view, TQWidget* w) = 0;
signals:
/**
@@ -87,7 +88,7 @@ signals:
/**
* This signal is emitted when a transaction/list of transactions has been selected by
* the GUI. If no transaction is selected or the selection is removed,
- * @p transactions is identical to an empty QValueList. This signal is used
+ * @p transactions is identical to an empty TQValueList. This signal is used
* by plugins to get information about changes.
*/
void transactionsSelected(const KMyMoneyRegister::SelectedTransactions& transactions);
@@ -109,10 +110,10 @@ signals:
* @param date the reconciliation date as provided through the dialog
* @param startingBalance the starting balance as provided through the dialog
* @param endingBalance the ending balance as provided through the dialog
- * @param transactionList reference to QValueList of QPair containing all
+ * @param transactionList reference to TQValueList of TQPair containing all
* transaction/split pairs processed by the reconciliation.
*/
- void accountReconciled(const MyMoneyAccount& account, const QDate& date, const MyMoneyMoney& startingBalance, const MyMoneyMoney& endingBalance, const QValueList<QPair<MyMoneyTransaction, MyMoneySplit> >& transactionList);
+ void accountReconciled(const MyMoneyAccount& account, const TQDate& date, const MyMoneyMoney& startingBalance, const MyMoneyMoney& endingBalance, const TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> >& transactionList);
void viewStateChanged(bool);