summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvdraglist.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/ksvdraglist.h')
-rw-r--r--ksysv/ksvdraglist.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/ksysv/ksvdraglist.h b/ksysv/ksvdraglist.h
index b710c44..6b1ab7e 100644
--- a/ksysv/ksvdraglist.h
+++ b/ksysv/ksvdraglist.h
@@ -50,7 +50,7 @@ class KPopupMenu;
class KSVConfig;
class KDLToolTip;
-class KSVItem : public QListViewItem
+class KSVItem : public TQListViewItem
{
public:
typedef enum {
@@ -67,7 +67,7 @@ public:
KSVItem (KListView*);
KSVItem (const KSVItem&);
explicit KSVItem (KSVDragList*, const KSVData&);
- KSVItem (KListView* view, TQString file, TQString path, TQString label, Q_INT8 nr );
+ KSVItem (KListView* view, TQString file, TQString path, TQString label, TQ_INT8 nr );
virtual ~KSVItem ();
virtual TQString key (int col, bool ascending) const;
@@ -88,8 +88,8 @@ public:
inline const TQString& path() const { return mData->path(); }
- inline Q_INT8 number() const { return mData->number(); }
- inline Q_INT8 oldNumber() const { return mData->oldNumber(); }
+ inline TQ_INT8 number() const { return mData->number(); }
+ inline TQ_INT8 oldNumber() const { return mData->oldNumber(); }
void copy (const KSVData&);
@@ -116,7 +116,7 @@ public:
void setLabel (const TQString& label);
void setFilename (const TQString& file);
void setRunlevel (const TQString& runlevel);
- void setNumber (Q_INT8 nr);
+ void setNumber (TQ_INT8 nr);
void setPath (const TQString& path);
void setChanged (bool);
void setNewNormalColor (const TQColor&);
@@ -152,9 +152,10 @@ private:
class KSVDragList : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSVDragList ( TQWidget* parent = 0, const char* name = 0 );
+ KSVDragList ( TQWidget* tqparent = 0, const char* name = 0 );
virtual ~KSVDragList();
virtual void clear();
@@ -166,7 +167,7 @@ public:
inline const TQString& horizontalScrollBarTip () const { return mHorizontalTip; }
inline const TQString& verticalScrollBarTip () const { return mVerticalTip; }
- virtual void initItem (TQString file, TQString path, TQString name, Q_INT8 nr);
+ virtual void initItem (TQString file, TQString path, TQString name, TQ_INT8 nr);
TQPtrList<KSVData>& getDeletedItems() { return mRMList; }
/**
@@ -227,12 +228,12 @@ protected:
* the given index by taking the average of the item
* above and the item below.
*/
- Q_INT8 generateNumber (Q_INT8 high, Q_INT8 low) const;
+ TQ_INT8 generateNumber (TQ_INT8 high, TQ_INT8 low) const;
/**
* A convenience function that also takes the label into account
*/
- Q_INT8 generateNumber (const TQString& label, const KSVData* itemAbove, const KSVData* itemBelow) const;
+ TQ_INT8 generateNumber (const TQString& label, const KSVData* itemAbove, const KSVData* itemBelow) const;
KSVItem* mItemToDrag;
@@ -267,7 +268,7 @@ signals:
class KServiceDragList : public KSVDragList
{
public:
- KServiceDragList (TQWidget* parent = 0L, const char* name = 0L);
+ KServiceDragList (TQWidget* tqparent = 0L, const char* name = 0L);
virtual ~KServiceDragList ();
protected: