From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmlibrarybrowser.h | 46 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kpovmodeler/pmlibrarybrowser.h') 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 #endif -#include -#include +#include +#include #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 QStringDict; +typedef TQDict 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 ); } -- cgit v1.2.3