diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /kget/dlgIndividual.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kget/dlgIndividual.cpp')
-rw-r--r-- | kget/dlgIndividual.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kget/dlgIndividual.cpp b/kget/dlgIndividual.cpp index b61f7c72..91b34007 100644 --- a/kget/dlgIndividual.cpp +++ b/kget/dlgIndividual.cpp @@ -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; @@ -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(); |