diff options
Diffstat (limited to 'src/kdesvn_part.h')
-rw-r--r-- | src/kdesvn_part.h | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/src/kdesvn_part.h b/src/kdesvn_part.h index 44dce7a..c07c375 100644 --- a/src/kdesvn_part.h +++ b/src/kdesvn_part.h @@ -30,7 +30,7 @@ #include <kparts/browserextension.h> class kdesvnView; -class QPainter; +class TQPainter; class KURL; class KdesvnBrowserExtension; class KAboutApplication; @@ -46,15 +46,16 @@ class KAboutApplication; class KDESVN_EXPORT kdesvnPart : public KParts::ReadOnlyPart { Q_OBJECT + TQ_OBJECT public: /** * Default constructor */ - kdesvnPart(QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, const QStringList&); + kdesvnPart(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name, const TQStringList&); - kdesvnPart(QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name,bool ownapp, const QStringList&); + kdesvnPart(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name,bool ownapp, const TQStringList&); /** * Destructor @@ -68,7 +69,7 @@ signals: void settingsChanged(); public slots: - virtual void slotDispPopup(const QString&,QWidget**target); + virtual void slotDispPopup(const TQString&,TQWidget**target); virtual void slotFileProperties(); virtual bool openURL(const KURL&); virtual void slotSshAdd(); @@ -81,13 +82,13 @@ protected: virtual void setupActions(); KAboutApplication* m_aboutDlg; - void init(QWidget *parentWidget, const char *widgetName,bool full); + void init(TQWidget *tqparentWidget, const char *widgetName,bool full); protected slots: virtual void slotLogFollowNodes(bool); virtual void slotDisplayIgnored(bool); virtual void slotDisplayUnkown(bool); - virtual void slotUrlChanged(const QString&); + virtual void slotUrlChanged(const TQString&); void reportBug(); void showAboutApplication(); void appHelpActivated(); @@ -96,7 +97,7 @@ protected slots: private: kdesvnView *m_view; KdesvnBrowserExtension*m_browserExt; - static QString m_Extratext; + static TQString m_Extratext; protected slots: void slotSettingsChanged(); protected slots: @@ -111,16 +112,17 @@ class KCmdLineArgs; class KDESVN_EXPORT cFactory : public KParts::Factory { Q_OBJECT + TQ_OBJECT public: cFactory():KParts::Factory(){} virtual ~cFactory(); - virtual KParts::Part* createPartObject( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const char *classname, const QStringList &args ); - virtual KParts::Part* createAppPart( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const char *classname, const QStringList &args ); - virtual commandline_part*createCommandIf(QObject*parent,const char*name, KCmdLineArgs *args); + virtual KParts::Part* createPartObject( TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name, + const char *classname, const TQStringList &args ); + virtual KParts::Part* createAppPart( TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name, + const char *classname, const TQStringList &args ); + virtual commandline_part*createCommandIf(TQObject*tqparent,const char*name, KCmdLineArgs *args); static KInstance* instance(); private: @@ -134,6 +136,7 @@ typedef cFactory kdesvnPartFactory; class KPARTS_EXPORT KdesvnBrowserExtension : public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT public: KdesvnBrowserExtension( kdesvnPart * ); virtual ~KdesvnBrowserExtension(); |