diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:25 -0600 |
commit | 2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch) | |
tree | 65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /kdesktop/lock | |
parent | 73c08b592db45af554b9f21029bc549d70f683ab (diff) | |
download | tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'kdesktop/lock')
-rw-r--r-- | kdesktop/lock/autologout.cc | 4 | ||||
-rw-r--r-- | kdesktop/lock/autologout.h | 2 | ||||
-rw-r--r-- | kdesktop/lock/infodlg.cc | 4 | ||||
-rw-r--r-- | kdesktop/lock/lockdlg.cc | 12 | ||||
-rw-r--r-- | kdesktop/lock/lockprocess.cc | 8 | ||||
-rw-r--r-- | kdesktop/lock/querydlg.cc | 6 | ||||
-rw-r--r-- | kdesktop/lock/sakdlg.cc | 4 | ||||
-rw-r--r-- | kdesktop/lock/securedlg.cc | 2 |
8 files changed, 21 insertions, 21 deletions
diff --git a/kdesktop/lock/autologout.cc b/kdesktop/lock/autologout.cc index eadb48de9..7a9cc9e66 100644 --- a/kdesktop/lock/autologout.cc +++ b/kdesktop/lock/autologout.cc @@ -17,7 +17,7 @@ #include <kmessagebox.h> #include <kdialog.h> -#include <layout.h> +#include <tqlayout.h> #include <tqmessagebox.h> #include <tqlabel.h> #include <tqstyle.h> @@ -55,7 +55,7 @@ AutoLogout::AutoLogout(LockProcess *parent) : TQDialog(parent, "password dialog" TQLabel *infoLabel = new TQLabel(i18n("<qt>To prevent being logged out, resume using this session by moving the mouse or pressing a key.</qt>"), frame); mStatusLabel = new TQLabel("<b> </b>", frame); - mStatusLabel->setAlignment(TQLabel::AlignCenter); + mStatusLabel->tqsetAlignment(TQLabel::AlignCenter); TQLabel *mProgressLabel = new TQLabel("Time Remaining:", frame); mProgressRemaining = new TQProgressBar(frame); diff --git a/kdesktop/lock/autologout.h b/kdesktop/lock/autologout.h index 14cfc92a8..c15a47f07 100644 --- a/kdesktop/lock/autologout.h +++ b/kdesktop/lock/autologout.h @@ -11,7 +11,7 @@ #include <tqstringlist.h> -#include <layout.h> +#include <tqlayout.h> class LockProcess; class TQFrame; diff --git a/kdesktop/lock/infodlg.cc b/kdesktop/lock/infodlg.cc index 271c45439..ff4553b8e 100644 --- a/kdesktop/lock/infodlg.cc +++ b/kdesktop/lock/infodlg.cc @@ -25,7 +25,7 @@ #include <dcopref.h> #include <kmessagebox.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqmessagebox.h> #include <tqsimplerichtext.h> @@ -86,7 +86,7 @@ InfoDlg::InfoDlg(LockProcess *parent) KUser user; mStatusLabel = new TQLabel( "<b> </b>", frame ); - mStatusLabel->setAlignment( TQLabel::AlignCenter ); + mStatusLabel->tqsetAlignment( TQLabel::AlignCenter ); TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this ); unlockDialogLayout->addWidget( frame ); diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc index bfdef62ac..9ff990820 100644 --- a/kdesktop/lock/lockdlg.cc +++ b/kdesktop/lock/lockdlg.cc @@ -30,7 +30,7 @@ #include <dcopref.h> #include <kmessagebox.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqmessagebox.h> #include <tqsimplerichtext.h> @@ -140,7 +140,7 @@ void PasswordDlg::init(GreeterPluginHandle *plugin) } mStatusLabel = new TQLabel( "<b> </b>", frame ); - mStatusLabel->setAlignment( TQLabel::AlignCenter ); + mStatusLabel->tqsetAlignment( TQLabel::AlignCenter ); mLayoutButton = new TQPushButton( frame ); mLayoutButton->setFlat( true ); @@ -268,7 +268,7 @@ void PasswordDlg::setLayoutText( const TQString &txt ) { mLayoutButton->setText( txt ); TQSize sz = mLayoutButton->fontMetrics().size( 0, txt ); - int mrg = mLayoutButton->tqstyle().pixelMetric( TQStyle::PM_ButtonMargin ) * 2; + int mrg = mLayoutButton->tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2; mLayoutButton->setFixedSize( sz.width() + mrg, sz.height() + mrg ); } @@ -577,7 +577,7 @@ void PasswordDlg::gplugMsgBox( TQMessageBox::Icon type, const TQString &text ) TQLabel *label2 = new TQLabel( text, winFrame ); KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame ); button->setDefault( true ); - button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) ); + button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) ); connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) ); TQGridLayout *grid = new TQGridLayout( winFrame, 2, 2, 10 ); @@ -788,9 +788,9 @@ void PasswordDlg::slotSwitchUser() ns++; } int fw = lv->frameWidth() * 2; - TQSize hds( lv->header()->sizeHint() ); + TQSize hds( lv->header()->tqsizeHint() ); lv->setMinimumWidth( fw + hds.width() + - (ns > 10 ? tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) ); + (ns > 10 ? tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) ); lv->setFixedHeight( fw + hds.height() + itm->height() * (ns < 6 ? 6 : ns > 10 ? 10 : ns) ); lv->header()->adjustHeaderSize(); diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 72a1da3de..0a45bbb76 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -48,7 +48,7 @@ #include <tqframe.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqcursor.h> #include <tqtimer.h> #include <tqfile.h> @@ -243,7 +243,7 @@ LockProcess::LockProcess(bool child, bool useBlankOnly) TQStringList dmopt = TQStringList::split(TQChar(','), - TQString::fromLatin1( ::getenv( "XDM_MANAGED" ))); + TQString::tqfromLatin1( ::getenv( "XDM_MANAGED" ))); for (TQStringList::ConstIterator it = dmopt.begin(); it != dmopt.end(); ++it) if ((*it).startsWith("method=")) mMethod = (*it).mid(7); @@ -1194,7 +1194,7 @@ void LockProcess::stopSaver() TQVariant LockProcess::getConf(void *ctx, const char *key, const TQVariant &dflt) { LockProcess *that = (LockProcess *)ctx; - TQString fkey = TQString::fromLatin1( key ) + '='; + TQString fkey = TQString::tqfromLatin1( key ) + '='; for (TQStringList::ConstIterator it = that->mPluginOptions.begin(); it != that->mPluginOptions.end(); ++it) if ((*it).startsWith( fkey )) @@ -1931,7 +1931,7 @@ void LockProcess::msgBox( TQMessageBox::Icon type, const TQString &txt ) TQLabel *label2 = new TQLabel( txt, winFrame ); KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame ); button->setDefault( true ); - button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) ); + button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) ); connect( button, TQT_SIGNAL( clicked() ), &box, TQT_SLOT( accept() ) ); TQVBoxLayout *vbox = new TQVBoxLayout( &box ); diff --git a/kdesktop/lock/querydlg.cc b/kdesktop/lock/querydlg.cc index fee1016d3..ec9b88b04 100644 --- a/kdesktop/lock/querydlg.cc +++ b/kdesktop/lock/querydlg.cc @@ -25,7 +25,7 @@ #include <dcopref.h> #include <kmessagebox.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqmessagebox.h> #include <tqsimplerichtext.h> @@ -86,8 +86,8 @@ QueryDlg::QueryDlg(LockProcess *parent) KUser user; mStatusLabel = new TQLabel( "<b> </b>", frame ); - //mStatusLabel->setAlignment( TQLabel::AlignCenter ); - mStatusLabel->setAlignment( TQLabel::AlignLeft ); + //mStatusLabel->tqsetAlignment( TQLabel::AlignCenter ); + mStatusLabel->tqsetAlignment( TQLabel::AlignLeft ); KSeparator *sep = new KSeparator( KSeparator::HLine, frame ); diff --git a/kdesktop/lock/sakdlg.cc b/kdesktop/lock/sakdlg.cc index b6e4ba1e4..ff1c4470f 100644 --- a/kdesktop/lock/sakdlg.cc +++ b/kdesktop/lock/sakdlg.cc @@ -26,7 +26,7 @@ #include <kmessagebox.h> #include <kdialog.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqmessagebox.h> #include <tqsimplerichtext.h> @@ -87,7 +87,7 @@ SAKDlg::SAKDlg(LockProcess *parent) KUser user; mStatusLabel = new TQLabel( "<b> </b>", frame ); - mStatusLabel->setAlignment( TQLabel::AlignVCenter ); + mStatusLabel->tqsetAlignment( TQLabel::AlignVCenter ); TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this ); unlockDialogLayout->addWidget( frame ); diff --git a/kdesktop/lock/securedlg.cc b/kdesktop/lock/securedlg.cc index 3e517cd65..532b9044e 100644 --- a/kdesktop/lock/securedlg.cc +++ b/kdesktop/lock/securedlg.cc @@ -26,7 +26,7 @@ #include <kmessagebox.h> #include <kdialog.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpushbutton.h> #include <tqmessagebox.h> #include <tqsimplerichtext.h> |