From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/counteditem.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/counteditem.h') diff --git a/src/gui/counteditem.h b/src/gui/counteditem.h index 9ea0138..7e3b9a1 100644 --- a/src/gui/counteditem.h +++ b/src/gui/counteditem.h @@ -16,9 +16,9 @@ #include "listview.h" -class QPainter; -class QColorGroup; -class QFontMetrics; +class TQPainter; +class TQColorGroup; +class TQFontMetrics; namespace Tellico { namespace GUI { @@ -28,16 +28,16 @@ namespace Tellico { */ class CountedItem : public GUI::ListViewItem { public: - CountedItem(ListView* parent) : ListViewItem(parent) {} - CountedItem(ListViewItem* parent) : ListViewItem(parent) {} + CountedItem(ListView* tqparent) : ListViewItem(tqparent) {} + CountedItem(ListViewItem* tqparent) : ListViewItem(tqparent) {} - virtual int compare(QListViewItem* item, int col, bool ascending) const; + virtual int compare(TQListViewItem* item, int col, bool ascending) const; /** * Paints the cell, adding the number count. */ - virtual void paintCell(QPainter* p, const QColorGroup& cg, + virtual void paintCell(TQPainter* p, const TQColorGroup& cg, int column, int width, int align); - virtual int width(const QFontMetrics& fm, const QListView* lv, int c) const; + virtual int width(const TQFontMetrics& fm, const TQListView* lv, int c) const; virtual int count() const { return childCount(); } virtual int realChildCount() const { return count(); } -- cgit v1.2.1