summaryrefslogtreecommitdiffstats
path: root/src/gui/counteditem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/counteditem.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
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
Diffstat (limited to 'src/gui/counteditem.h')
-rw-r--r--src/gui/counteditem.h16
1 files changed, 8 insertions, 8 deletions
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(); }