summaryrefslogtreecommitdiffstats
path: root/kdeui/klistview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-13 08:32:36 +0000
commitf7e71d47719ab6094cf4a9fafffa5ea351973522 (patch)
tree30834aa632d442019e14f88685001d94657d060b /kdeui/klistview.h
parentb31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff)
downloadtdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz
tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/klistview.h')
-rw-r--r--kdeui/klistview.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kdeui/klistview.h b/kdeui/klistview.h
index d78ec2724..a4e7d4b85 100644
--- a/kdeui/klistview.h
+++ b/kdeui/klistview.h
@@ -50,11 +50,12 @@ class KLineEdit;
* Reimplement dragObject() and (possibly) startDrag(),
* and setDragEnabled(true).
*/
-class KDEUI_EXPORT KListView : public QListView
+class KDEUI_EXPORT KListView : public TQListView
{
friend class KListViewItem;
Q_OBJECT
+ TQ_OBJECT
Q_ENUMS( SelectionModeExt )
Q_PROPERTY( bool fullWidth READ fullWidth WRITE setFullWidth )
Q_PROPERTY( bool itemsMovable READ itemsMovable WRITE setItemsMovable )
@@ -684,7 +685,7 @@ protected:
*/
inline bool below (TQListViewItem* i, const TQPoint& p)
{
- return below (itemRect(i), contentsToViewport(p));
+ return below (tqitemRect(i), contentsToViewport(p));
}
/**
@@ -1006,7 +1007,7 @@ private:
*
* @short listview item with alternate background color support
*/
-class KDEUI_EXPORT KListViewItem : public QListViewItem
+class KDEUI_EXPORT KListViewItem : public TQListViewItem
{
friend class KListView;
public:
@@ -1069,7 +1070,7 @@ public:
TQColor backgroundColor(int column);
virtual void paintCell(TQPainter *p, const TQColorGroup &cg,
- int column, int width, int alignment);
+ int column, int width, int tqalignment);
private:
void init();