From 9445f97b426e97c6ce46de18fba4030da45d56df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:36:38 -0600 Subject: Rename old tq methods that no longer need a unique name --- kfilereplace/commandengine.cpp | 4 ++-- kfilereplace/kaddstringdlg.cpp | 4 ++-- kfilereplace/kaddstringdlgs.ui | 10 +++++----- kfilereplace/kfilereplaceview.cpp | 8 ++++---- kfilereplace/kfilereplaceviewwdg.ui | 8 ++++---- kfilereplace/knewprojectdlgs.ui | 12 ++++++------ kfilereplace/koptionsdlgs.ui | 4 ++-- kfilereplace/report.cpp | 2 +- 8 files changed, 26 insertions(+), 26 deletions(-) (limited to 'kfilereplace') diff --git a/kfilereplace/commandengine.cpp b/kfilereplace/commandengine.cpp index e8955556..af3cd2f2 100644 --- a/kfilereplace/commandengine.cpp +++ b/kfilereplace/commandengine.cpp @@ -34,9 +34,9 @@ TQString CommandEngine::datetime(const TQString& opt, const TQString& arg) { Q_UNUSED(arg); if(opt == "iso") - return TQDateTime::tqcurrentDateTime(Qt::LocalTime).toString(Qt::ISODate); + return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::ISODate); if(opt == "local") - return TQDateTime::tqcurrentDateTime(Qt::LocalTime).toString(Qt::LocalDate); + return TQDateTime::currentDateTime(Qt::LocalTime).toString(Qt::LocalDate); return TQString(); } diff --git a/kfilereplace/kaddstringdlg.cpp b/kfilereplace/kaddstringdlg.cpp index 9c555ee6..1ec33552 100644 --- a/kfilereplace/kaddstringdlg.cpp +++ b/kfilereplace/kaddstringdlg.cpp @@ -58,8 +58,8 @@ KAddStringDlg::KAddStringDlg(RCOptions* info, bool wantEdit, TQWidget *parent, c //PRIVATE void KAddStringDlg::initGUI() { - m_pbAdd->setIconSet(SmallIconSet(TQString::tqfromLatin1("forward"))); - m_pbDel->setIconSet(SmallIconSet(TQString::tqfromLatin1("back"))); + m_pbAdd->setIconSet(SmallIconSet(TQString::fromLatin1("forward"))); + m_pbDel->setIconSet(SmallIconSet(TQString::fromLatin1("back"))); m_stack->addWidget(m_stringView); m_stack->addWidget(m_stringView_2); diff --git a/kfilereplace/kaddstringdlgs.ui b/kfilereplace/kaddstringdlgs.ui index 820b1769..6eca6850 100644 --- a/kfilereplace/kaddstringdlgs.ui +++ b/kfilereplace/kaddstringdlgs.ui @@ -171,7 +171,7 @@ Expanding - + 20 90 @@ -190,7 +190,7 @@ m_pbDel - + 30 32767 @@ -204,7 +204,7 @@ m_pbAdd - + 30 32767 @@ -229,7 +229,7 @@ Expanding - + 20 90 @@ -375,7 +375,7 @@ Expanding - + 90 20 diff --git a/kfilereplace/kfilereplaceview.cpp b/kfilereplace/kfilereplaceview.cpp index 9800f119..104effcb 100644 --- a/kfilereplace/kfilereplaceview.cpp +++ b/kfilereplace/kfilereplaceview.cpp @@ -498,7 +498,7 @@ void KFileReplaceView::initGUI() - m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("fileopen")), + m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("fileopen")), i18n("&Open"), this, TQT_SLOT(slotResultOpen())); @@ -517,16 +517,16 @@ void KFileReplaceView::initGUI() TQT_SLOT(slotResultEdit())); } - m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("up")), + m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("up")), i18n("Open Parent &Folder"), this, TQT_SLOT(slotResultDirOpen())); - m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("editdelete")), + m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("editdelete")), i18n("&Delete"), this, TQT_SLOT(slotResultDelete())); m_menuResult->insertSeparator(); - m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("info")), + m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("info")), i18n("&Properties"), this, TQT_SLOT(slotResultProperties())); diff --git a/kfilereplace/kfilereplaceviewwdg.ui b/kfilereplace/kfilereplaceviewwdg.ui index bb3af48e..907cfac5 100644 --- a/kfilereplace/kfilereplaceviewwdg.ui +++ b/kfilereplace/kfilereplaceviewwdg.ui @@ -407,7 +407,7 @@ m_ledGo - + 20 20 @@ -434,7 +434,7 @@ m_ledWait - + 20 20 @@ -461,7 +461,7 @@ m_ledStop - + 20 20 @@ -490,7 +490,7 @@ Expanding - + 354 20 diff --git a/kfilereplace/knewprojectdlgs.ui b/kfilereplace/knewprojectdlgs.ui index 7cb3b392..bc6c3961 100644 --- a/kfilereplace/knewprojectdlgs.ui +++ b/kfilereplace/knewprojectdlgs.ui @@ -48,13 +48,13 @@ 0 - + 0 0 - + 70 32767 @@ -74,7 +74,7 @@ Expanding - + 150 20 @@ -118,7 +118,7 @@ 0 - + 70 32767 @@ -718,7 +718,7 @@ Expanding - + 190 16 @@ -842,7 +842,7 @@ Expanding - + 330 16 diff --git a/kfilereplace/koptionsdlgs.ui b/kfilereplace/koptionsdlgs.ui index 2c377b15..43ed48d6 100644 --- a/kfilereplace/koptionsdlgs.ui +++ b/kfilereplace/koptionsdlgs.ui @@ -224,7 +224,7 @@ Fixed - + 16 20 @@ -281,7 +281,7 @@ Expanding - + 202 20 diff --git a/kfilereplace/report.cpp b/kfilereplace/report.cpp index 62e59173..92901a53 100644 --- a/kfilereplace/report.cpp +++ b/kfilereplace/report.cpp @@ -44,7 +44,7 @@ void Report::createReportFile() // b) Write the header of the XML file - TQDateTime datetime = TQDateTime::tqcurrentDateTime(Qt::LocalTime); + TQDateTime datetime = TQDateTime::currentDateTime(Qt::LocalTime); TQString dateString = datetime.toString(Qt::LocalDate); KUser user; TQString columnTextFour, -- cgit v1.2.3