diff options
Diffstat (limited to 'src/kdesvnview.h')
-rw-r--r-- | src/kdesvnview.h | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/src/kdesvnview.h b/src/kdesvnview.h index d8799d0..a0d4089 100644 --- a/src/kdesvnview.h +++ b/src/kdesvnview.h @@ -23,18 +23,18 @@ #define _KDESVNVIEW_H_ #include "src/svnqt/repositorylistener.hpp" -#include <qwidget.h> +#include <tqwidget.h> #include <kparts/part.h> -class QPainter; +class TQPainter; class KURL; class kdesvnfilelist; class KdeSvnDirList; -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QSpacerItem; -class QSplitter; +class TQVBoxLayout; +class TQHBoxLayout; +class TQGridLayout; +class TQSpacerItem; +class TQSplitter; class KActionCollection; class KTextBrowser; class KProgress; @@ -49,14 +49,15 @@ class KProgress; * @author Rajko Albrecht <ral@alwins-world.de> * @version 0.1 */ -class kdesvnView : public QWidget,public svn::repository::RepositoryListener +class kdesvnView : public TQWidget,public svn::repository::RepositoryListener { Q_OBJECT + TQ_OBJECT public: /** * Default constructor */ - kdesvnView(KActionCollection*,QWidget *parent,const char*name=0,bool full=false); + kdesvnView(KActionCollection*,TQWidget *tqparent,const char*name=0,bool full=false); /** * Destructor @@ -66,12 +67,12 @@ public: /** * Random 'get' function */ - QString currentURL(); + TQString currentURL(); /** * Random 'set' function accessed by DCOP */ - virtual bool openURL(QString url); + virtual bool openURL(TQString url); /** * Random 'set' function @@ -79,25 +80,25 @@ public: virtual bool openURL(const KURL& url); /* repositorylistener methods */ - virtual void sendWarning(const QString&); - virtual void sendError(const QString&); + virtual void sendWarning(const TQString&); + virtual void sendError(const TQString&); virtual bool isCanceld(); signals: /** * Use this signal to change the content of the statusbar */ - void signalChangeStatusbar(const QString&); + void signalChangeStatusbar(const TQString&); /** * Use this signal to change the content of the caption */ - void signalChangeCaption(const QString&); + void signalChangeCaption(const TQString&); - void sigShowPopup(const QString&,QWidget**); + void sigShowPopup(const TQString&,TQWidget**); void sigSwitchUrl(const KURL&); - void setWindowCaption(const QString&); - void sigUrlChanged(const QString&); + void setWindowCaption(const TQString&); + void sigUrlChanged(const TQString&); void sigMakeBaseDirs(); /* repositorylistener methods */ @@ -106,7 +107,7 @@ signals: public slots: virtual void closeMe(); - virtual void slotDispPopup(const QString&,QWidget**); + virtual void slotDispPopup(const TQString&,TQWidget**); virtual void refreshCurrentTree(); virtual void slotSettingsChanged(); virtual void slotCreateRepo(); @@ -116,22 +117,22 @@ public slots: /* repositorylistener methods */ virtual void setCanceled(bool); - virtual void fillCacheStatus(Q_LONG,Q_LONG); + virtual void fillCachetqStatus(TQ_LONG,TQ_LONG); protected slots: - virtual void slotOnURL(const QString& url); - virtual void slotSetTitle(const QString& title); - virtual void slotAppendLog(const QString& text); - virtual void slotUrlChanged(const QString&); + virtual void slotOnURL(const TQString& url); + virtual void slotSetTitle(const TQString& title); + virtual void slotAppendLog(const TQString& text); + virtual void slotUrlChanged(const TQString&); protected: kdesvnfilelist*m_flist; KActionCollection*m_Collection; - QSplitter *m_Splitter,*m_infoSplitter; - QString m_currentURL; + TQSplitter *m_Splitter,*m_infoSplitter; + TQString m_currentURL; KTextBrowser*m_LogWindow; - QVBoxLayout*m_topLayout; + TQVBoxLayout*m_topLayout; KProgress*m_CacheProgressBar; protected: |