From 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:34:45 -0600 Subject: Rename old tq methods that no longer need a unique name --- korn/boxcontaineritem.cpp | 4 +-- korn/dcopdrop.cpp | 2 +- korn/kornboxcfg.ui | 62 +++++++++++++++++++++++------------------------ korn/progress_dialog.ui | 4 +-- 4 files changed, 36 insertions(+), 36 deletions(-) (limited to 'korn') diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp index c412a07b..8c998953 100644 --- a/korn/boxcontaineritem.cpp +++ b/korn/boxcontaineritem.cpp @@ -316,7 +316,7 @@ void BoxContainerItem::drawLabel( TQLabel *label, const int count, const bool ne if( _fonts[ index ] ) label->setFont( *_fonts[ index ] ); label->setPaletteForegroundColor( *_fgColour[ index ] ); - label->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter ); + label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter ); label->setText( TQString::number( count ) ); } @@ -371,7 +371,7 @@ TQPixmap BoxContainerItem::calcComplexPixmap( const TQPixmap &icon, const TQColo void BoxContainerItem::setAnimIcon( TQLabel* label, const TQString& anim ) { - label->tqsetAlignment( TQt::AlignHCenter | TQt::AlignVCenter ); + label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter ); label->setMovie( TQMovie( anim ) ); label->show(); } diff --git a/korn/dcopdrop.cpp b/korn/dcopdrop.cpp index aea90103..9fa7caa8 100644 --- a/korn/dcopdrop.cpp +++ b/korn/dcopdrop.cpp @@ -162,7 +162,7 @@ int DCOPDrop::addMessage( const TQString& subject, const TQString& message ) mailsubject->setSender( TQString( "DCOP: %1" ).tqarg( *_name ) ); mailsubject->setHeader( message, true ); mailsubject->setSize( message.length() ); - mailsubject->setDate( TQDateTime::tqcurrentDateTime().toTime_t() ); + mailsubject->setDate( TQDateTime::currentDateTime().toTime_t() ); _msgList->insert( id->getId(), mailsubject ); diff --git a/korn/kornboxcfg.ui b/korn/kornboxcfg.ui index 3d9ca609..deea1591 100644 --- a/korn/kornboxcfg.ui +++ b/korn/kornboxcfg.ui @@ -288,7 +288,7 @@ Expanding - + 41 160 @@ -477,7 +477,7 @@ Expanding - + 21 20 @@ -502,7 +502,7 @@ Expanding - + 21 21 @@ -540,7 +540,7 @@ Expanding - + 21 20 @@ -565,7 +565,7 @@ Expanding - + 21 21 @@ -592,7 +592,7 @@ Expanding - + 21 20 @@ -617,7 +617,7 @@ Expanding - + 21 21 @@ -644,7 +644,7 @@ Expanding - + 21 20 @@ -669,7 +669,7 @@ Expanding - + 21 21 @@ -696,7 +696,7 @@ Expanding - + 21 20 @@ -721,7 +721,7 @@ Expanding - + 21 21 @@ -767,7 +767,7 @@ Expanding - + 21 20 @@ -792,7 +792,7 @@ Expanding - + 21 21 @@ -819,7 +819,7 @@ Expanding - + 21 20 @@ -844,7 +844,7 @@ Expanding - + 21 21 @@ -882,7 +882,7 @@ Expanding - + 21 20 @@ -907,7 +907,7 @@ Expanding - + 21 21 @@ -942,7 +942,7 @@ Expanding - + 21 20 @@ -967,7 +967,7 @@ Expanding - + 21 21 @@ -1002,7 +1002,7 @@ Expanding - + 21 20 @@ -1027,7 +1027,7 @@ Expanding - + 21 21 @@ -1062,7 +1062,7 @@ Expanding - + 21 20 @@ -1087,7 +1087,7 @@ Expanding - + 21 21 @@ -1114,7 +1114,7 @@ Expanding - + 21 20 @@ -1139,7 +1139,7 @@ Expanding - + 21 21 @@ -1166,7 +1166,7 @@ Expanding - + 21 20 @@ -1191,7 +1191,7 @@ Expanding - + 21 21 @@ -1218,7 +1218,7 @@ Expanding - + 21 20 @@ -1243,7 +1243,7 @@ Expanding - + 21 21 @@ -1278,7 +1278,7 @@ Expanding - + 21 20 @@ -1303,7 +1303,7 @@ Expanding - + 21 21 diff --git a/korn/progress_dialog.ui b/korn/progress_dialog.ui index e5670341..2be856f3 100644 --- a/korn/progress_dialog.ui +++ b/korn/progress_dialog.ui @@ -55,7 +55,7 @@ Expanding - + 41 20 @@ -80,7 +80,7 @@ Expanding - + 41 31 -- cgit v1.2.3