diff options
Diffstat (limited to 'kget/dlgIndividual.cpp')
-rw-r--r-- | kget/dlgIndividual.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kget/dlgIndividual.cpp b/kget/dlgIndividual.cpp index b61f7c72..5e6889cd 100644 --- a/kget/dlgIndividual.cpp +++ b/kget/dlgIndividual.cpp @@ -25,14 +25,14 @@ ***************************************************************************/ -#include <tqlayout.h> +#include <layout.h> #include "dockindividual.h" #include <tqlabel.h> #include <tqtabwidget.h> #include <kprogress.h> -#include <tqtextedit.h> +#include <textedit.h> #include <tqcheckbox.h> #include <kpushbutton.h> #include <ksqueezedtextlabel.h> @@ -162,9 +162,9 @@ DlgIndividual::DlgIndividual(Transfer * _item) // otherwise set it to the current time TQDateTime dt; - if (item->getStartTime() < TQDateTime::tqcurrentDateTime() && item->getMode() != Transfer::MD_SCHEDULED) + if (item->getStartTime() < TQDateTime::currentDateTime() && item->getMode() != Transfer::MD_SCHEDULED) { - dt = TQDateTime::tqcurrentDateTime(); + dt = TQDateTime::currentDateTime(); } else { @@ -182,14 +182,14 @@ DlgIndividual::DlgIndividual(Transfer * _item) ml_log = new TQTextEdit(panelAdvanced); ml_log->setTextFormat(LogText); ml_log->setReadOnly(true); - // ml_log->setFixedSize(tqsizeHint()); + // ml_log->setFixedSize(sizeHint()); ml_log->setVScrollBarMode(TQScrollView::Auto); ml_log->setWordWrap(TQTextEdit::NoWrap); - // ml_log->tqsetSizePolicy(policy); + // ml_log->setSizePolicy(policy); panelAdvanced->addTab(ml_log, i18n("Log")); - // panelAdvanced->setFixedSize(tqsizeHint()); + // panelAdvanced->setFixedSize(sizeHint()); @@ -197,7 +197,7 @@ DlgIndividual::DlgIndividual(Transfer * _item) advanced = ksettings.b_advancedIndividual; slotToggleAdvanced(); - resize( tqminimumSizeHint() ); + resize( minimumSizeHint() ); setMaximumHeight( height() ); //bool keepOpenChecked = false; @@ -218,13 +218,13 @@ void DlgIndividual::setPercent(unsigned long percent) { m_pProgressBar->setValue(percent); m_pDockIndividual->setValue(percent); - setCaption(i18n("%1% of %2 - %3").tqarg(percent).tqarg(KIO::convertSize(m_iTotalSize)).tqarg(m_location.fileName())); + setCaption(i18n("%1% of %2 - %3").arg(percent).arg(KIO::convertSize(m_iTotalSize)).arg(m_location.fileName())); } void DlgIndividual::setProcessedSize(KIO::filesize_t bytes) { - sizeLabel->setText(i18n("%1 of %2").tqarg(KIO::convertSize(bytes)).tqarg(KIO::convertSize(m_iTotalSize))); + sizeLabel->setText(i18n("%1 of %2").arg(KIO::convertSize(bytes)).arg(KIO::convertSize(m_iTotalSize))); } @@ -315,7 +315,7 @@ void DlgIndividual::slotKeepOpenToggled(bool bToggled) bKeepDlgOpen=bToggled; - if (!bKeepDlgOpen && item->gettqStatus()==Transfer::ST_FINISHED) + if (!bKeepDlgOpen && item->getStatus()==Transfer::ST_FINISHED) { hide(); m_pDockIndividual->hide(); |