summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmviewfactory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmviewfactory.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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/pmviewfactory.h')
-rw-r--r--kpovmodeler/pmviewfactory.h36
1 files changed, 18 insertions, 18 deletions
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 <config.h>
#endif
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qdict.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqdict.h>
#include <kstaticdeleter.h>
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<PMViewTypeFactory>& viewTypes( ) const;
+ const TQPtrList<PMViewTypeFactory>& viewTypes( ) const;
private:
/**
* Constructor
*/
PMViewFactory( );
- QPtrList<PMViewTypeFactory> m_viewTypes;
- QDict<PMViewTypeFactory> m_dict;
+ TQPtrList<PMViewTypeFactory> m_viewTypes;
+ TQDict<PMViewTypeFactory> m_dict;
static PMViewFactory* s_pInstance;
static KStaticDeleter<PMViewFactory> s_staticDeleter;