summaryrefslogtreecommitdiffstats
path: root/src/gui/plvitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/plvitem.h')
-rw-r--r--src/gui/plvitem.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/gui/plvitem.h b/src/gui/plvitem.h
index fd48845..9dc1763 100644
--- a/src/gui/plvitem.h
+++ b/src/gui/plvitem.h
@@ -12,9 +12,9 @@
#define PLVITEM_H
#include <klistview.h>
-#include <qstring.h>
-#include <qguardedptr.h>
-#include <qobject.h>
+#include <tqstring.h>
+#include <tqguardedptr.h>
+#include <tqobject.h>
class Variant;
@@ -24,28 +24,29 @@ class Variant;
PropertiesListView Item
Basic item, which holds the Variant data and Id for an item
*/
-class PLVItem : public QObject, public KListViewItem
+class PLVItem : public TQObject, public KListViewItem
{
Q_OBJECT
+ TQ_OBJECT
public:
- PLVItem( KListView *listview, const QString &id, Variant * data );
+ PLVItem( KListView *listview, const TQString &id, Variant * data );
~PLVItem();
- QString id() const { return m_id; }
+ TQString id() const { return m_id; }
Variant * data() const { return p_data; }
- virtual int width ( const QFontMetrics & fm, const QListView * lv, int c ) const;
+ virtual int width ( const TQFontMetrics & fm, const TQListView * lv, int c ) const;
public slots:
/**
* Call to change the data held by an item, and update the display
* accordingly.
*/
- virtual void updateData(QVariant value);
+ virtual void updateData(TQVariant value);
protected:
- QString m_id;
- QGuardedPtr<Variant> p_data;
+ TQString m_id;
+ TQGuardedPtr<Variant> p_data;
};
/**
@@ -54,13 +55,13 @@ class PLVItem : public QObject, public KListViewItem
class PLVColorItem : public PLVItem
{
public:
- PLVColorItem( KListView *listview, const QString &id, Variant *data );
+ PLVColorItem( KListView *listview, const TQString &id, Variant *data );
~PLVColorItem();
- void updateData(QVariant value);
+ void updateData(TQVariant value);
protected:
- virtual void paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int align );
+ virtual void paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width, int align );
};
#endif