diff options
Diffstat (limited to 'src/svnfrontend/stopdlg.h')
-rw-r--r-- | src/svnfrontend/stopdlg.h | 36 |
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;} |