summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kscheduledview.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/views/kscheduledview.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/views/kscheduledview.h')
-rw-r--r--kmymoney2/views/kscheduledview.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/kmymoney2/views/kscheduledview.h b/kmymoney2/views/kscheduledview.h
index 9eac41a..25600bd 100644
--- a/kmymoney2/views/kscheduledview.h
+++ b/kmymoney2/views/kscheduledview.h
@@ -25,8 +25,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
-#include <qlistview.h>
+#include <tqwidget.h>
+#include <tqlistview.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -56,12 +56,13 @@ class KPopupMenu;
class KScheduledView : public KScheduledViewDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
- * Standard constructor for QWidgets.
+ * Standard constructor for TQWidgets.
*/
- KScheduledView(QWidget *parent=0, const char *name=0);
+ KScheduledView(TQWidget *tqparent=0, const char *name=0);
/**
* Standard destructor.
@@ -74,7 +75,7 @@ public:
void show();
public slots:
- void slotSelectSchedule(const QString& schedule);
+ void slotSelectSchedule(const TQString& schedule);
void slotReloadView(void);
signals:
@@ -94,27 +95,27 @@ protected slots:
* @param pos The position to popup
* @return none
**/
- void slotListViewContextMenu(KListView* view, QListViewItem* item, const QPoint& pos);
+ void slotListViewContextMenu(KListView* view, TQListViewItem* item, const TQPoint& pos);
- void slotListItemExecuted(QListViewItem*, const QPoint&, int);
+ void slotListItemExecuted(TQListViewItem*, const TQPoint&, int);
void slotAccountActivated(int);
- void slotListViewCollapsed(QListViewItem* item);
- void slotListViewExpanded(QListViewItem* item);
+ void slotListViewCollapsed(TQListViewItem* item);
+ void slotListViewExpanded(TQListViewItem* item);
- void slotBriefSkipClicked(const MyMoneySchedule& schedule, const QDate&);
- void slotBriefEnterClicked(const MyMoneySchedule& schedule, const QDate&);
+ void slotBriefSkipClicked(const MyMoneySchedule& schedule, const TQDate&);
+ void slotBriefEnterClicked(const MyMoneySchedule& schedule, const TQDate&);
void slotTimerDone(void);
- void slotSetSelectedItem(QListViewItem* item);
+ void slotSetSelectedItem(TQListViewItem* item);
void slotRearrange(void);
private:
/// The selected schedule id in the list view.
- QString m_selectedSchedule;
+ TQString m_selectedSchedule;
/// Read config file
void readConfig(void);
@@ -125,7 +126,7 @@ private:
/**
* Refresh the view.
*/
- void refresh(bool full=true, const QString& schedId = QString());
+ void refresh(bool full=true, const TQString& schedId = TQString());
/**
* Loads the accounts into the combo box.
@@ -133,7 +134,7 @@ private:
// void loadAccounts(void);
KPopupMenu *m_kaccPopup;
- QStringList m_filterAccounts;
+ TQStringList m_filterAccounts;
bool m_openBills;
bool m_openDeposits;
bool m_openTransfers;