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/pmviewfactory.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kpovmodeler/pmviewfactory.h') diff --git a/kpovmodeler/pmviewfactory.h b/kpovmodeler/pmviewfactory.h index b24814cf..5fd42c1a 100644 --- a/kpovmodeler/pmviewfactory.h +++ b/kpovmodeler/pmviewfactory.h @@ -22,15 +22,15 @@ #include #endif -#include -#include -#include +#include +#include +#include #include class PMViewBase; -class QWidget; +class TQWidget; class PMPart; -class QDomElement; +class TQDomElement; class PMViewOptions; class PMViewOptionsWidget; @@ -52,27 +52,27 @@ public: /** * Returns the id for the view type. Choose an unique name. */ - virtual QString viewType( ) const = 0; + virtual TQString viewType( ) const = 0; /** * Returns a i18n'ed description for the view type */ - virtual QString description( ) const = 0; + virtual TQString description( ) const = 0; /** * Returns a i18n'ed description for the view type, dependent * on the options. Calls the method above by default. */ - virtual QString description( PMViewOptions* ) const + virtual TQString description( PMViewOptions* ) const { return description( ); } /** * Returns the icon name for the view */ - virtual QString iconName( ) const = 0; + virtual TQString iconName( ) const = 0; /** * Returns a new view instance */ - virtual PMViewBase* newInstance( QWidget* parent, PMPart* part ) const = 0; + virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const = 0; /** * Creates a config object for the view type. * If the view doesn't have special attributes, the function returns 0; @@ -81,7 +81,7 @@ public: /** * Creates a widget to configure the custom options */ - virtual PMViewOptionsWidget* newOptionsWidget( QWidget*, PMViewOptions* ) + virtual PMViewOptionsWidget* newOptionsWidget( TQWidget*, PMViewOptions* ) { return 0; } @@ -115,28 +115,28 @@ public: /** * Returns a new view of type viewType if available */ - PMViewBase* newViewInstance( const QString& viewType, - QWidget* parent, PMPart* part ) const; + PMViewBase* newViewInstance( const TQString& viewType, + TQWidget* parent, PMPart* part ) const; /** * Returns a new view option instance for the given view type */ - PMViewOptions* newOptionsInstance( const QString& viewType ) const; + PMViewOptions* newOptionsInstance( const TQString& viewType ) const; /** * Returns the factory for the given view type */ - PMViewTypeFactory* viewFactory( const QString& viewType ) const; + PMViewTypeFactory* viewFactory( const TQString& viewType ) const; /** * Returns the list of available view types */ - const QPtrList& viewTypes( ) const; + const TQPtrList& viewTypes( ) const; private: /** * Constructor */ PMViewFactory( ); - QPtrList m_viewTypes; - QDict m_dict; + TQPtrList m_viewTypes; + TQDict m_dict; static PMViewFactory* s_pInstance; static KStaticDeleter s_staticDeleter; -- cgit v1.2.3