summaryrefslogtreecommitdiffstats
path: root/src/kdesvnview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/kdesvnview.h
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kdesvnview.h')
-rw-r--r--src/kdesvnview.h55
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 <[email protected]>
* @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: