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/pmlibrarybrowser.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/pmlibrarybrowser.h')
-rw-r--r-- | kpovmodeler/pmlibrarybrowser.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kpovmodeler/pmlibrarybrowser.h b/kpovmodeler/pmlibrarybrowser.h index 3d5af6ff..b7a2d881 100644 --- a/kpovmodeler/pmlibrarybrowser.h +++ b/kpovmodeler/pmlibrarybrowser.h @@ -23,15 +23,15 @@ #include <config.h> #endif -#include <qwidget.h> -#include <qdict.h> +#include <tqwidget.h> +#include <tqdict.h> #include "pmviewbase.h" #include "pmviewfactory.h" -class QComboBox; -class QIconViewItem; -class QPushButton; +class TQComboBox; +class TQIconViewItem; +class TQPushButton; class KConfig; class KDirOperator; class PMLibraryIconView; @@ -40,7 +40,7 @@ class PMLibraryHandle; class PMPart; namespace KIO{ class Job; } -typedef QDict<QString> QStringDict; +typedef TQDict<TQString> QStringDict; /** * Wrapper class for the treeview/dock widget @@ -52,12 +52,12 @@ public: /** * Default constructor */ - PMLibraryBrowserView( PMPart* part, QWidget* parent, const char* name = 0 ); + PMLibraryBrowserView( PMPart* part, TQWidget* parent, const char* name = 0 ); /** */ - virtual QString viewType( ) const { return QString( "librarybrowserview" ); } + virtual TQString viewType( ) const { return TQString( "librarybrowserview" ); } /** */ - virtual QString description( ) const; + virtual TQString description( ) const; }; /** @@ -67,13 +67,13 @@ class PMLibraryBrowserViewWidget: public QWidget { Q_OBJECT public: - PMLibraryBrowserViewWidget( QWidget *parent, const char* name = NULL ); + PMLibraryBrowserViewWidget( TQWidget *parent, const char* name = NULL ); private slots: - void resizeEvent( QResizeEvent* ev ); - void slotPathSelected( const QString& str ); - void slotSelectionChanged( QIconViewItem* item ); - void slotSelectionExecuted( QIconViewItem* item ); + void resizeEvent( TQResizeEvent* ev ); + void slotPathSelected( const TQString& str ); + void slotSelectionChanged( TQIconViewItem* item ); + void slotSelectionExecuted( TQIconViewItem* item ); void slotUpButtonClicked( ); void slotDeleteClicked( ); void slotNewObjectClicked( ); @@ -88,11 +88,11 @@ private slots: private: - QPushButton* m_pUpButton; - QPushButton* m_pNewSubLibraryButton; - QPushButton* m_pNewObjectButton; - QPushButton* m_pDeleteObjectButton; - QComboBox* m_pLibraryComboBox; + TQPushButton* m_pUpButton; + TQPushButton* m_pNewSubLibraryButton; + TQPushButton* m_pNewObjectButton; + TQPushButton* m_pDeleteObjectButton; + TQComboBox* m_pLibraryComboBox; PMLibraryIconView* m_pLibraryIconView; PMLibraryEntryPreview* m_pLibraryEntryPreview; PMLibraryHandle* m_pCurrentLibrary; @@ -107,10 +107,10 @@ class PMLibraryBrowserViewFactory : public PMViewTypeFactory { public: PMLibraryBrowserViewFactory( ) { } - virtual QString viewType( ) const { return QString( "librarybrowserview" ); } - virtual QString description( ) const; - virtual QString iconName( ) const { return QString( "pmlibrarybrowserview" ); } - virtual PMViewBase* newInstance( QWidget* parent, PMPart* part ) const + virtual TQString viewType( ) const { return TQString( "librarybrowserview" ); } + virtual TQString description( ) const; + virtual TQString iconName( ) const { return TQString( "pmlibrarybrowserview" ); } + virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const { return new PMLibraryBrowserView( part, parent ); } |