diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/management/kmwpassword.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip |
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmwpassword.cpp')
-rw-r--r-- | kdeprint/management/kmwpassword.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/management/kmwpassword.cpp b/kdeprint/management/kmwpassword.cpp index f05fa2378..c8fb39c65 100644 --- a/kdeprint/management/kmwpassword.cpp +++ b/kdeprint/management/kmwpassword.cpp @@ -39,15 +39,15 @@ KMWPassword::KMWPassword(TQWidget *parent, const char *name) m_nextpage = KMWizard::SMB; // create widgets - QLabel *infotext_ = new TQLabel(this); + TQLabel *infotext_ = new TQLabel(this); infotext_->setText(i18n("<p>This backend may require a login/password to work properly. " "Select the type of access to use and fill in the login and password entries if needed.</p>")); m_login = new TQLineEdit(this); m_login->setText(TQString::fromLocal8Bit(getenv("USER"))); m_password = new TQLineEdit(this); m_password->setEchoMode(TQLineEdit::Password); - QLabel *loginlabel_ = new TQLabel(i18n("&Login:"),this); - QLabel *passwdlabel_ = new TQLabel(i18n("&Password:"),this); + TQLabel *loginlabel_ = new TQLabel(i18n("&Login:"),this); + TQLabel *passwdlabel_ = new TQLabel(i18n("&Password:"),this); m_btngroup = new TQVButtonGroup( this ); m_btngroup->setFrameStyle( TQFrame::NoFrame ); TQRadioButton *btn1 = new TQRadioButton( i18n( "&Anonymous (no login/password)" ), m_btngroup ); @@ -72,7 +72,7 @@ KMWPassword::KMWPassword(TQWidget *parent, const char *name) main_->addSpacing( 10 ); main_->addWidget( m_btngroup ); TQGridLayout *l1 = new TQGridLayout( 0, 2, 3 ); - main_->addLayout( l1 ); + main_->addLayout( TQT_TQLAYOUT(l1) ); main_->addStretch( 1 ); l1->setColSpacing( 0, 35 ); l1->setColStretch( 2, 1 ); @@ -109,7 +109,7 @@ void KMWPassword::initPrinter( KMPrinter* p ) void KMWPassword::updatePrinter(KMPrinter *p) { - QString s = p->option("kde-backend"); + TQString s = p->option("kde-backend"); if (!s.isEmpty()) setNextPage(s.toInt()); else |