diff options
Diffstat (limited to 'lib/widgets/propeditor/propertyeditor.h')
-rw-r--r-- | lib/widgets/propeditor/propertyeditor.h | 26 |
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; }; |