summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertyeditor.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/propeditor/propertyeditor.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/propertyeditor.h')
-rw-r--r--lib/widgets/propeditor/propertyeditor.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/widgets/propeditor/propertyeditor.h b/lib/widgets/propeditor/propertyeditor.h
index 4091d31a..c6c72237 100644
--- a/lib/widgets/propeditor/propertyeditor.h
+++ b/lib/widgets/propeditor/propertyeditor.h
@@ -23,7 +23,7 @@
#ifndef PURE_QT
#include <klistview.h>
#else
-#include <qlistview.h>
+#include <tqlistview.h>
#define KListView QListView
#define KListViewItem QListViewItem
#endif
@@ -59,7 +59,7 @@ class PropertyEditor: public KListView{
Q_OBJECT
public:
/**Constructs the property editor.*/
- PropertyEditor(QWidget *parent = 0, const char *name = 0);
+ PropertyEditor(TQWidget *parent = 0, const char *name = 0);
~PropertyEditor();
/**@return @ref Machine for given property.
@@ -83,25 +83,25 @@ protected slots:
/**Updates property widget in the editor.*/
void propertyValueChanged(Property* property);
/**Updates property in the list when new value is selected in the editor.*/
- void propertyChanged(MultiProperty *property, const QVariant &value);
+ void propertyChanged(MultiProperty *property, const TQVariant &value);
/**Shows property editor.*/
- void slotClicked(QListViewItem* item);
+ void slotClicked(TQListViewItem* item);
void updateEditorSize();
/**Undoes the last change in property editor.*/
void undo();
protected:
- void editItem(QListViewItem*, int);
+ void editItem(TQListViewItem*, int);
void hideEditor();
void showEditor(PropertyItem *item);
void placeEditor(PropertyItem *item);
PropertyWidget *prepareEditor(PropertyItem *item);
- void addGroup(const QString &name);
- void addProperty(PropertyGroupItem *group, const QString &name);
- void addProperty(const QString &name);
+ void addGroup(const TQString &name);
+ void addProperty(PropertyGroupItem *group, const TQString &name);
+ void addProperty(const TQString &name);
void addChildProperties(PropertyItem *parent);
private:
@@ -109,17 +109,17 @@ private:
PropertyList m_detailedList;
//machines cache for property types, machines will be deleted
- QMap<QString, Machine* > m_registeredForType;
+ TQMap<TQString, Machine* > m_registeredForType;
PropertyItem *m_currentEditItem;
PropertyWidget *m_currentEditWidget;
- QWidget *m_currentEditArea;
- QGridLayout *m_currentEditLayout;
+ TQWidget *m_currentEditArea;
+ TQGridLayout *m_currentEditLayout;
bool m_doubleClickForEdit;
- QListViewItem* m_lastClickedItem;
+ TQListViewItem* m_lastClickedItem;
- QPushButton *m_undoButton;
+ TQPushButton *m_undoButton;
friend class PropertyItem;
};