summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kscheduledlistitem.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/kscheduledlistitem.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/kscheduledlistitem.h')
-rw-r--r--kmymoney2/views/kscheduledlistitem.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/views/kscheduledlistitem.h b/kmymoney2/views/kscheduledlistitem.h
index c5e4728..62df861 100644
--- a/kmymoney2/views/kscheduledlistitem.h
+++ b/kmymoney2/views/kscheduledlistitem.h
@@ -26,7 +26,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qpixmap.h>
+#include <tqpixmap.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -56,27 +56,27 @@ public:
*
* Other types may be added in the future.
*
- * @param parent The list view to be a child of.
+ * @param tqparent The list view to be a child of.
* @param description The (translated) description.
* @param pixmap A pixmap for the entry
* @param sortKey a sortkey, if empty, @c description will be used.
*
* @see MyMoneySchedule
*/
- KScheduledListItem(KListView *parent, const QString& description, const QPixmap& pixmap = QPixmap(), const QString& sortKey = QString());
+ KScheduledListItem(KListView *tqparent, const TQString& description, const TQPixmap& pixmap = TQPixmap(), const TQString& sortKey = TQString());
/**
- * This constructor is used to create a child of one of the children
+ * This constructor is used to create a child of one of the tqchildren
* created by the above method.
*
* This child describes a schedule and represents the data in schedule.
*
- * @param parent The list view item to be a child of.
+ * @param tqparent The list view item to be a child of.
* @param schedule The schedule to be represented.
*
* @see MyMoneySchedule
*/
- KScheduledListItem(KScheduledListItem *parent, const MyMoneySchedule& schedule/*, bool even*/);
+ KScheduledListItem(KScheduledListItem *tqparent, const MyMoneySchedule& schedule/*, bool even*/);
/**
* Standard destructor.
@@ -91,16 +91,16 @@ public:
*
* @return The schedule id.
*/
- const QString& scheduleId(void) const { return m_schedule.id(); }
+ const TQString& scheduleId(void) const { return m_schedule.id(); }
- int compare(QListViewItem* i, int col, bool ascending) const;
+ int compare(TQListViewItem* i, int col, bool ascending) const;
protected:
- void paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align);
+ void paintCell(TQPainter* p, const TQColorGroup& cg, int column, int width, int align);
private:
MyMoneySchedule m_schedule;
- QString m_sortKey;
+ TQString m_sortKey;
MyMoneyMoney m_amount;
};