diff options
Diffstat (limited to 'kdevdesigner/designer/editfunctionsimpl.h')
-rw-r--r-- | kdevdesigner/designer/editfunctionsimpl.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kdevdesigner/designer/editfunctionsimpl.h b/kdevdesigner/designer/editfunctionsimpl.h index f19f9d72..f068c9dc 100644 --- a/kdevdesigner/designer/editfunctionsimpl.h +++ b/kdevdesigner/designer/editfunctionsimpl.h @@ -30,7 +30,7 @@ #include "editfunctions.h" #include "hierarchyview.h" #include "metadatabase.h" -#include <qmap.h> +#include <tqmap.h> class FormWindow; class QListViewItem; @@ -40,55 +40,55 @@ class EditFunctions : public EditFunctionsBase Q_OBJECT public: - EditFunctions( QWidget *parent, FormWindow *fw, bool showOnlySlots = FALSE ); + EditFunctions( TQWidget *parent, FormWindow *fw, bool showOnlySlots = FALSE ); - void setCurrentFunction( const QString &function ); - void functionAdd( const QString &access = QString::null, - const QString &type = QString::null ); + void setCurrentFunction( const TQString &function ); + void functionAdd( const TQString &access = TQString::null, + const TQString &type = TQString::null ); void functionAdd() { functionAdd( "public" ); } signals: - void itemRenamed(const QString &); + void itemRenamed(const TQString &); protected slots: void okClicked(); void functionRemove(); - void currentItemChanged( QListViewItem * ); - void currentTextChanged( const QString &txt ); - void currentSpecifierChanged( const QString &s ); - void currentAccessChanged( const QString &a ); - void currentReturnTypeChanged( const QString &type ); - void currentTypeChanged( const QString &type ); + void currentItemChanged( TQListViewItem * ); + void currentTextChanged( const TQString &txt ); + void currentSpecifierChanged( const TQString &s ); + void currentAccessChanged( const TQString &a ); + void currentReturnTypeChanged( const TQString &type ); + void currentTypeChanged( const TQString &type ); void displaySlots( bool justSlots ); - void emitItemRenamed( QListViewItem *, int, const QString & ); + void emitItemRenamed( TQListViewItem *, int, const TQString & ); private: enum Attribute { Name, Specifier, Access, ReturnType, Type }; struct FunctItem { int id; - QString oldName; - QString newName; - QString oldRetTyp; - QString retTyp; - QString spec; - QString oldSpec; - QString access; - QString oldAccess; - QString type; - QString oldType; + TQString oldName; + TQString newName; + TQString oldRetTyp; + TQString retTyp; + TQString spec; + TQString oldSpec; + TQString access; + TQString oldAccess; + TQString type; + TQString oldType; Q_DUMMY_COMPARISON_OPERATOR( FunctItem ) }; - void changeItem( QListViewItem *item, Attribute a, const QString &nV ); + void changeItem( TQListViewItem *item, Attribute a, const TQString &nV ); FormWindow *formWindow; - QMap<QListViewItem*, int> functionIds; - QStringList removedFunctions; - QValueList<MetaDataBase::Function> itemList; - QValueList<FunctItem> functList; + TQMap<TQListViewItem*, int> functionIds; + TQStringList removedFunctions; + TQValueList<MetaDataBase::Function> itemList; + TQValueList<FunctItem> functList; int id; - QString lastType; + TQString lastType; }; #endif |