diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmobjectselect.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmobjectselect.h')
-rw-r--r-- | kpovmodeler/pmobjectselect.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kpovmodeler/pmobjectselect.h b/kpovmodeler/pmobjectselect.h index c69af315..46d39d21 100644 --- a/kpovmodeler/pmobjectselect.h +++ b/kpovmodeler/pmobjectselect.h @@ -24,15 +24,15 @@ #endif #include <kdialogbase.h> -#include <qlistbox.h> -#include <qsize.h> -#include <qvaluelist.h> -#include <qstringlist.h> +#include <tqlistbox.h> +#include <tqsize.h> +#include <tqvaluelist.h> +#include <tqstringlist.h> #include "pmobject.h" #include "pmdeclare.h" /** - * QListBoxItem for @ref PMObject + * TQListBoxItem for @ref PMObject */ class PMListBoxObject : public QListBoxPixmap { @@ -41,11 +41,11 @@ public: * Constructs a list box item in listbox listbox showing the * object obj. The item gets inserted after the item after */ - PMListBoxObject( QListBox* listbox, PMObject* obj, QListBoxItem* after ); + PMListBoxObject( TQListBox* listbox, PMObject* obj, TQListBoxItem* after ); /** * Constructs a list box item in listbox listbox showing the object obj */ - PMListBoxObject( QListBox* listbox, PMObject* obj ); + PMListBoxObject( TQListBox* listbox, PMObject* obj ); /** * Constructs a list box item showing the object obj */ @@ -54,16 +54,16 @@ public: * Constructs a list box item in listbox listbox showing the * text text. The item gets inserted after the item after */ - PMListBoxObject( QListBox* listbox, PMObject* obj, const QString& text, - QListBoxItem* after ); + PMListBoxObject( TQListBox* listbox, PMObject* obj, const TQString& text, + TQListBoxItem* after ); /** * Constructs a list box item in listbox listbox showing the text text */ - PMListBoxObject( QListBox* listbox, PMObject* obj, const QString& text ); + PMListBoxObject( TQListBox* listbox, PMObject* obj, const TQString& text ); /** * Constructs a list box item showing the text text */ - PMListBoxObject( PMObject* obj, const QString& text ); + PMListBoxObject( PMObject* obj, const TQString& text ); /** * Deletes the item */ @@ -74,7 +74,7 @@ public: */ PMObject* object( ) const { return m_pObject; } private: - static QString checkName( const QString& text ); + static TQString checkName( const TQString& text ); PMObject* m_pObject; }; @@ -88,7 +88,7 @@ public: /** * Creates a selection widget with parent and name */ - PMObjectSelect( QWidget* parent = 0, const char* name = 0, + PMObjectSelect( TQWidget* parent = 0, const char* name = 0, bool modal = true ); /** * Deletes the dialog @@ -111,22 +111,22 @@ public: * * Only objects above the object link are listed. */ - static int selectObject( PMObject* link, const QString& t, PMObject* & obj, - QWidget* parent = 0 ); - static int selectObject( PMObject* link, const QStringList& t, - PMObject* & obj, QWidget* parent = 0 ); - static int selectDeclare( PMObject* link, const QString& declareType, - PMObject* & obj, QWidget* parent = 0 ); - static int selectDeclare( PMObject* link, const QStringList& dt, - PMObject* & obj, QWidget* parent = 0 ); + static int selectObject( PMObject* link, const TQString& t, PMObject* & obj, + TQWidget* parent = 0 ); + static int selectObject( PMObject* link, const TQStringList& t, + PMObject* & obj, TQWidget* parent = 0 ); + static int selectDeclare( PMObject* link, const TQString& declareType, + PMObject* & obj, TQWidget* parent = 0 ); + static int selectDeclare( PMObject* link, const TQStringList& dt, + PMObject* & obj, TQWidget* parent = 0 ); protected slots: - void slotHighlighted( QListBoxItem* lbi ); - void slotSelected( QListBoxItem* lbi ); + void slotHighlighted( TQListBoxItem* lbi ); + void slotSelected( TQListBoxItem* lbi ); private: - QListBox* m_pListBox; + TQListBox* m_pListBox; PMObject* m_pSelectedObject; - static QSize s_size; + static TQSize s_size; }; #endif |