diff options
Diffstat (limited to 'libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h')
-rw-r--r-- | libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h b/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h index 798053cac..5df3db240 100644 --- a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h +++ b/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h @@ -21,50 +21,50 @@ #ifndef DESIGNER_PARTPLUGIN_H #define DESIGNER_PARTPLUGIN_H -#include <qwidgetplugin.h> -#include <qwidget.h> +#include <tqwidgetplugin.h> +#include <tqwidget.h> namespace KParts { class ReadOnlyPart; } /** * Generic part loader, able to view any kind of file for which * a KParts::ReadOnlyPart is available */ -class KPartsGenericPart : public QWidget { +class KPartsGenericPart : public TQWidget { Q_OBJECT - Q_PROPERTY( QString url READ url WRITE setURL ) - Q_PROPERTY( QString mimetype READ mimetype WRITE setMimetype ) + Q_PROPERTY( TQString url READ url WRITE setURL ) + Q_PROPERTY( TQString mimetype READ mimetype WRITE setMimetype ) public: - KPartsGenericPart( QWidget* parentWidget, const char* name ); + KPartsGenericPart( TQWidget* parentWidget, const char* name ); - QString url() const { return m_url; } - void setURL( const QString& url ) { m_url = url; load(); } + TQString url() const { return m_url; } + void setURL( const TQString& url ) { m_url = url; load(); } // The mimetype, or "auto" if unknown - QString mimetype() const { return m_mimetype; } - void setMimetype( const QString& mimetype ) { m_mimetype = mimetype; load(); } + TQString mimetype() const { return m_mimetype; } + void setMimetype( const TQString& mimetype ) { m_mimetype = mimetype; load(); } private: void load(); private: - QString m_mimetype; - QString m_url; + TQString m_mimetype; + TQString m_url; KParts::ReadOnlyPart* m_part; }; /** * Qt designer plugin for embedding a KParts using KPartsGenericPart */ -class KPartsWidgetPlugin : public QWidgetPlugin { +class KPartsWidgetPlugin : public TQWidgetPlugin { public: - QStringList keys() const; - QWidget * create( const QString & key, QWidget * parent, const char * name ); - QString group( const QString & key ) const; - //QIconSet iconSet( const QString & key ) const; - QString includeFile( const QString & key ) const; - QString toolTip( const QString & key ) const; - QString whatsThis( const QString & key ) const; - bool isContainer( const QString & key ) const; + TQStringList keys() const; + TQWidget * create( const TQString & key, TQWidget * parent, const char * name ); + TQString group( const TQString & key ) const; + //TQIconSet iconSet( const TQString & key ) const; + TQString includeFile( const TQString & key ) const; + TQString toolTip( const TQString & key ) const; + TQString whatsThis( const TQString & key ) const; + bool isContainer( const TQString & key ) const; }; #endif |