diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/editfunctionsimpl.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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 '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 |