summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/stopdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/stopdlg.cpp')
-rw-r--r--src/svnfrontend/stopdlg.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/svnfrontend/stopdlg.cpp b/src/svnfrontend/stopdlg.cpp
index 8c6077d..1a5b11e 100644
--- a/src/svnfrontend/stopdlg.cpp
+++ b/src/svnfrontend/stopdlg.cpp
@@ -39,7 +39,7 @@ StopDlg::StopDlg(TQObject*listener,TQWidget *parent, const char *name,const TQSt
,m_Context(listener),m_MinDuration(1000),mCancelled(false),mShown(false),m_BarShown(false),
cstack(0)
{
- KWin::setIcons(winId(), kapp->icon(), kapp->miniIcon());
+ KWin::setIcons(winId(), tdeApp->icon(), tdeApp->miniIcon());
m_lastLogLines = 0;
m_lastLog = "";
@@ -62,13 +62,13 @@ StopDlg::StopDlg(TQObject*listener,TQWidget *parent, const char *name,const TQSt
mWait = false;
m_LogWindow = 0;
- connect(mShowTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAutoShow()));
+ connect(mShowTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAutoShow()));
if (m_Context) {
- connect(m_Context,TQT_SIGNAL(tickProgress()),this,TQT_SLOT(slotTick()));
- connect(m_Context,TQT_SIGNAL(waitShow(bool)),this,TQT_SLOT(slotWait(bool)));
- connect(m_Context,TQT_SIGNAL(netProgress(long long int, long long int)),
- this,TQT_SLOT(slotNetProgres(long long int, long long int)));
- connect(this,TQT_SIGNAL(sigCancel(bool)),m_Context,TQT_SLOT(setCanceled(bool)));
+ connect(m_Context,TQ_SIGNAL(tickProgress()),this,TQ_SLOT(slotTick()));
+ connect(m_Context,TQ_SIGNAL(waitShow(bool)),this,TQ_SLOT(slotWait(bool)));
+ connect(m_Context,TQ_SIGNAL(netProgress(long long int, long long int)),
+ this,TQ_SLOT(slotNetProgres(long long int, long long int)));
+ connect(this,TQ_SIGNAL(sigCancel(bool)),m_Context,TQ_SLOT(setCanceled(bool)));
}
mShowTimer->start(m_MinDuration, true);
setMinimumSize(280,160);
@@ -102,7 +102,7 @@ StopDlg::~StopDlg()
void StopDlg::slotAutoShow()
{
bool hasDialogs = false;
- TQWidget * w = TQT_TQWIDGET(kapp->activeModalWidget());
+ TQWidget * w = tdeApp->activeModalWidget();
if (w && w!=this && w!=parentWidget() ) {
hasDialogs = true;
}
@@ -123,7 +123,7 @@ void StopDlg::slotAutoShow()
m_BarShown=false;
m_netBarShown=false;
show();
- kapp->processEvents();
+ tdeApp->processEvents();
mShown = true;
mShowTimer->start(m_MinDuration, true);
}
@@ -152,7 +152,7 @@ void StopDlg::slotTick()
m_ProgressBar->setProgress(m_ProgressBar->progress()+1);
}
m_StopTick.restart();
- kapp->processEvents();
+ tdeApp->processEvents();
}
}
@@ -171,7 +171,7 @@ void StopDlg::slotExtraMessage(const TQString&msg)
slotAutoShow();
}
m_LogWindow->append(msg);
- kapp->processEvents();
+ tdeApp->processEvents();
}
void StopDlg::slotNetProgres(long long int current, long long int max)
@@ -193,14 +193,14 @@ void StopDlg::slotNetProgres(long long int current, long long int max)
}
m_NetBar->setValue(current);
m_StopTick.restart();
- kapp->processEvents();
+ tdeApp->processEvents();
}
}
StopSimpleDlg::StopSimpleDlg(TQWidget *parent, const char *name,const TQString&caption,const TQString&text)
: StopDlg(0,parent,name,caption,text),cancelld(false)
{
- connect(this,TQT_SIGNAL(sigCancel(bool)),this,TQT_SLOT(slotSimpleCancel(bool)));
+ connect(this,TQ_SIGNAL(sigCancel(bool)),this,TQ_SLOT(slotSimpleCancel(bool)));
}
void StopSimpleDlg::slotSimpleCancel(bool how)