summaryrefslogtreecommitdiffstats
path: root/src/gui/propertieslistview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/propertieslistview.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/propertieslistview.h')
-rw-r--r--src/gui/propertieslistview.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/propertieslistview.h b/src/gui/propertieslistview.h
index c6ad8f7..a879ae7 100644
--- a/src/gui/propertieslistview.h
+++ b/src/gui/propertieslistview.h
@@ -12,15 +12,15 @@
#define PROPERTIESLISTVIEW_H
#include <klistview.h>
-#include <qmap.h>
+#include <tqmap.h>
class CNItemGroup;
class ItemGroup;
class PIEditor;
class PLVItem;
-class QPushButton;
+class TQPushButton;
-typedef QMap< QString, PLVItem * > PLVItemMap;
+typedef TQMap< TQString, PLVItem * > PLVItemMap;
/**
@author Daniel Clarke
@@ -29,8 +29,9 @@ typedef QMap< QString, PLVItem * > PLVItemMap;
class PropertiesListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- PropertiesListView( QWidget *parent = 0l, const char *name = 0l );
+ PropertiesListView( TQWidget *tqparent = 0l, const char *name = 0l );
~PropertiesListView();
public slots:
@@ -48,7 +49,7 @@ public slots:
* Removes all property items from the widget.
*/
void slotClear();
- void slotSelectionChanged(QListViewItem *item);
+ void slotSelectionChanged(TQListViewItem *item);
/**
* Whenthe selected items have different values, then the property editor
* for the disagreeing property will have a value taken from one of the
@@ -60,14 +61,14 @@ public slots:
protected slots:
void headerSizeChanged(int section, int oldSize, int newSize);
- void slotDataChanged(const QString &id, QVariant data);
+ void slotDataChanged(const TQString &id, TQVariant data);
void destroyEditor();
protected:
- virtual void wheelEvent( QWheelEvent *e );
+ virtual void wheelEvent( TQWheelEvent *e );
PIEditor *m_editor;
- QPushButton *m_diffBt;
+ TQPushButton *m_diffBt;
PLVItem *p_lastItem;
PLVItemMap m_plvItemMap;
};