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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/svnfrontend/stopdlg.cpp b/src/svnfrontend/stopdlg.cpp
index 305d5d6..e67d126 100644
--- a/src/svnfrontend/stopdlg.cpp
+++ b/src/svnfrontend/stopdlg.cpp
@@ -27,7 +27,7 @@
#include <twin.h>
#include <tqtimer.h>
#include <tqpushbutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqwidgetlist.h>
#include <kprogress.h>
@@ -49,15 +49,15 @@ StopDlg::StopDlg(TQObject*listener,TQWidget *parent, const char *name,const TQSt
mCancelText = actionButton(KDialogBase::Cancel)->text();
TQFrame* mainWidget = plainPage();
- layout = new TQVBoxLayout(mainWidget, 10);
+ tqlayout = new TQVBoxLayout(mainWidget, 10);
mLabel = new TQLabel(text, mainWidget);
- layout->addWidget(mLabel);
+ tqlayout->addWidget(mLabel);
m_ProgressBar=new KProgress(15,mainWidget);
m_ProgressBar->setCenterIndicator (false);
m_ProgressBar->setTextEnabled(false);
- layout->addWidget(m_ProgressBar);
+ tqlayout->addWidget(m_ProgressBar);
m_NetBar = new KProgress(15,mainWidget);
- layout->addWidget(m_NetBar);
+ tqlayout->addWidget(m_NetBar);
mWait = false;
m_LogWindow = 0;
@@ -162,9 +162,9 @@ void StopDlg::slotExtraMessage(const TQString&msg)
if (!m_LogWindow) {
TQFrame* mainWidget = plainPage();
m_LogWindow = new KTextBrowser(mainWidget);
- layout->addWidget(m_LogWindow);
+ tqlayout->addWidget(m_LogWindow);
m_LogWindow->show();
- resize( TQSize(500, 400).expandedTo(minimumSizeHint()) );
+ resize( TQSize(500, 400).expandedTo(tqminimumSizeHint()) );
}
if (m_lastLogLines >= Kdesvnsettings::self()->cmdline_log_minline() &&
isHidden() ) {
@@ -184,11 +184,11 @@ void StopDlg::slotNetProgres(long long int current, long long int max)
TQString s1 = helpers::ByteToString()(current);
if (max > -1 && max != m_NetBar->totalSteps()) {
TQString s2 = helpers::ByteToString()(max);
- m_NetBar->setFormat(i18n("%1 of %2").arg(s1).arg(s2));
+ m_NetBar->setFormat(i18n("%1 of %2").tqarg(s1).tqarg(s2));
m_NetBar->setTotalSteps(max);
}
if (max == -1) {
- m_NetBar->setFormat(i18n("%1 transferred.").arg(s1));
+ m_NetBar->setFormat(i18n("%1 transferred.").tqarg(s1));
m_NetBar->setTotalSteps(current+1);
}
m_NetBar->setValue(current);