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/pmdialogview.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/pmdialogview.h')
-rw-r--r-- | kpovmodeler/pmdialogview.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kpovmodeler/pmdialogview.h b/kpovmodeler/pmdialogview.h index aef224eb..680cbbc9 100644 --- a/kpovmodeler/pmdialogview.h +++ b/kpovmodeler/pmdialogview.h @@ -23,8 +23,8 @@ #include <config.h> #endif -#include <qwidget.h> -#include <qscrollview.h> +#include <tqwidget.h> +#include <tqscrollview.h> #include <kpushbutton.h> #include "pmviewbase.h" @@ -33,9 +33,9 @@ class PMDialogEditBase; class PMObject; class PMPart; -class QGroupBox; -class QBoxLayout; -class QLabel; +class TQGroupBox; +class TQBoxLayout; +class TQLabel; /** * Helper class for @ref PMDialogView @@ -44,13 +44,13 @@ class PMDialogEditContent : public QScrollView { Q_OBJECT public: - PMDialogEditContent( QWidget* parent, const char* name = 0 ); - void setContents( QWidget* wid ); + PMDialogEditContent( TQWidget* parent, const char* name = 0 ); + void setContents( TQWidget* wid ); void calculateSize( ); protected: - void resizeEvent( QResizeEvent* ); + void resizeEvent( TQResizeEvent* ); private: - QWidget* m_pContents; + TQWidget* m_pContents; }; /** @@ -67,23 +67,23 @@ public: /** * Creates a new PMDialogView widget */ - PMDialogView( PMPart* part, QWidget* parent, const char* name = 0 ); + PMDialogView( PMPart* part, TQWidget* parent, const char* name = 0 ); /** * Deletes the widget */ ~PMDialogView( ); /** */ - virtual QString viewType( ) const { return QString( "dialogview" ); } + virtual TQString viewType( ) const { return TQString( "dialogview" ); } /** */ - virtual QString description( ) const; + virtual TQString description( ) const; public slots: /** * Called when an object is changed. * Mode is a bit combination of @ref PMChange constants */ - void slotObjectChanged( PMObject* obj, const int mode, QObject* sender ); + void slotObjectChanged( PMObject* obj, const int mode, TQObject* sender ); /** * Called before the scene is rendered */ @@ -101,14 +101,14 @@ signals: * Signal that is emitted when an object is changed. * Mode is a bit combination of @ref PMChange constants. */ - void objectChanged( PMObject* obj, const int mode, QObject* sender ); + void objectChanged( PMObject* obj, const int mode, TQObject* sender ); /** * Emitted in the destructor */ void destroyed( PMDialogView* v ); protected: - virtual void keyPressEvent( QKeyEvent* ); + virtual void keyPressEvent( TQKeyEvent* ); private slots: void slotApply( ); @@ -129,14 +129,14 @@ private: void displayObject( PMObject* obj, bool updateDescription = true ); PMDialogEditBase* m_pDisplayedWidget; - QBoxLayout* m_pLayout; + TQBoxLayout* m_pLayout; KPushButton* m_pApplyButton; KPushButton* m_pCancelButton; KPushButton* m_pHelpButton; - QLabel* m_pPixmapLabel; - QLabel* m_pObjectTypeLabel; + TQLabel* m_pPixmapLabel; + TQLabel* m_pObjectTypeLabel; PMDialogEditContent* m_pHelper; @@ -151,10 +151,10 @@ class PMDialogViewFactory : public PMViewTypeFactory { public: PMDialogViewFactory( ) { } - virtual QString viewType( ) const { return QString( "dialogview" ); } - virtual QString description( ) const; - virtual QString iconName( ) const { return QString( "pmdialogview" ); } - virtual PMViewBase* newInstance( QWidget* parent, PMPart* part ) const + virtual TQString viewType( ) const { return TQString( "dialogview" ); } + virtual TQString description( ) const; + virtual TQString iconName( ) const { return TQString( "pmdialogview" ); } + virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const { return new PMDialogView( part, parent ); } |