summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmviewfactory.h
diff options
context:
space:
mode:
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;