summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/stopdlg.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/svnfrontend/stopdlg.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/svnfrontend/stopdlg.h')
-rw-r--r--src/svnfrontend/stopdlg.h36
1 files changed, 19 insertions, 17 deletions
diff --git a/src/svnfrontend/stopdlg.h b/src/svnfrontend/stopdlg.h
index 5d33d59..1a9813d 100644
--- a/src/svnfrontend/stopdlg.h
+++ b/src/svnfrontend/stopdlg.h
@@ -24,16 +24,16 @@
#include <kdialogbase.h>
-#include <qdatetime.h>
-#include <qobject.h>
+#include <tqdatetime.h>
+#include <tqobject.h>
-class QTimer;
+class TQTimer;
class CContextListener;
-class QLabel;
+class TQLabel;
class KProgress;
class KTextBrowser;
-class QVBoxLayout;
+class TQVBoxLayout;
/**
@author Rajko Albrecht
@@ -41,39 +41,40 @@ class QVBoxLayout;
class StopDlg : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- StopDlg(QObject*,QWidget *parent = 0, const char *name = 0,const QString&caption=QString::null,const QString&text=QString::null);
+ StopDlg(TQObject*,TQWidget *tqparent = 0, const char *name = 0,const TQString&caption=TQString(),const TQString&text=TQString());
virtual ~StopDlg();
bool cancelld();
protected:
- QObject*m_Context;
+ TQObject*m_Context;
int m_MinDuration;
bool mCancelled;
- QTimer * mShowTimer;
- QString mCancelText;
+ TQTimer * mShowTimer;
+ TQString mCancelText;
bool mShown,mWait;
- QLabel*mLabel;
+ TQLabel*mLabel;
KProgress*m_ProgressBar;
KProgress*m_NetBar;
bool m_BarShown;
bool m_netBarShown;
- QTime m_StopTick;
+ TQTime m_StopTick;
KTextBrowser*m_LogWindow;
- QVBoxLayout*layout;
+ TQVBoxLayout*tqlayout;
- QString m_lastLog;
+ TQString m_lastLog;
unsigned int m_lastLogLines;
CursorStack * cstack;
- virtual void showEvent(QShowEvent*);
- virtual void hideEvent(QHideEvent*);
+ virtual void showEvent(TQShowEvent*);
+ virtual void hideEvent(TQHideEvent*);
public slots:
virtual void slotTick();
virtual void slotWait(bool);
- virtual void slotExtraMessage(const QString&);
+ virtual void slotExtraMessage(const TQString&);
protected slots:
virtual void slotAutoShow();
@@ -86,8 +87,9 @@ signals:
class StopSimpleDlg:public StopDlg
{
Q_OBJECT
+ TQ_OBJECT
public:
- StopSimpleDlg(QWidget *parent = 0, const char *name = 0,const QString&caption=QString::null,const QString&text=QString::null);
+ StopSimpleDlg(TQWidget *tqparent = 0, const char *name = 0,const TQString&caption=TQString(),const TQString&text=TQString());
virtual ~StopSimpleDlg(){}
bool isCanceld()const{return cancelld;}