From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knetattach/knetattach.ui | 26 +++++++++++++------------- knetattach/knetattach.ui.h | 8 ++++---- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'knetattach') diff --git a/knetattach/knetattach.ui b/knetattach/knetattach.ui index b93a7e62f..13b7d0f9c 100644 --- a/knetattach/knetattach.ui +++ b/knetattach/knetattach.ui @@ -4,7 +4,7 @@ KNetAttach - + 0 0 @@ -96,7 +96,7 @@ 0 - + 250 0 @@ -131,7 +131,7 @@ Expanding - + 31 16 @@ -145,7 +145,7 @@ Select the type of network folder you wish to connect to and press the Next button. - + WordBreak|AlignVCenter @@ -159,7 +159,7 @@ Fixed - + 20 21 @@ -186,7 +186,7 @@ Enter a name for this <i>%1</i> as well as the server address, port and folder path to use and press the Next button. - + WordBreak|AlignVCenter @@ -200,7 +200,7 @@ Fixed - + 20 21 @@ -327,7 +327,7 @@ Expanding - + 560 16 @@ -367,19 +367,19 @@ _user textChanged(const QString&) KNetAttach - updateParametersPageStatus() + updateParametersPagetqStatus() _host textChanged(const QString&) KNetAttach - updateParametersPageStatus() + updateParametersPagetqStatus() _path textChanged(const QString&) KNetAttach - updateParametersPageStatus() + updateParametersPagetqStatus() _useEncryption @@ -427,7 +427,7 @@ init() setInformationText( const QString & type ) showPage( QWidget * page ) - updateParametersPageStatus() + updateParametersPagetqStatus() finished() updatePort( bool encryption ) updateFinishButtonText( bool save ) @@ -436,5 +436,5 @@ doConnectionTest( const KURL & url ) updateForProtocol( const QString & protocol ) - + diff --git a/knetattach/knetattach.ui.h b/knetattach/knetattach.ui.h index f60dab03e..4de321bd3 100644 --- a/knetattach/knetattach.ui.h +++ b/knetattach/knetattach.ui.h @@ -16,7 +16,7 @@ void KNetAttach::init() disconnect(finishButton(), TQT_SIGNAL(clicked()), (TQDialog*)this, TQT_SLOT(accept())); connect(finishButton(), TQT_SIGNAL(clicked()), this, TQT_SLOT(finished())); finishButton()->setText(i18n("Save && C&onnect")); - //setResizeMode(Fixed); FIXME: make the wizard fixed-geometry + //setResizeMode(Fixed); FIXME: make the wizard fixed-tqgeometry setFinishEnabled(_folderParameters, false); KConfig recent("krecentconnections", true, false); recent.setGroup("General"); @@ -109,14 +109,14 @@ void KNetAttach::showPage( TQWidget *page ) _connectionName->setText(_recentConnectionName->currentText()); _createIcon->setChecked(false); } - updateParametersPageStatus(); + updateParametersPagetqStatus(); } TQWizard::showPage(page); } -void KNetAttach::updateParametersPageStatus() +void KNetAttach::updateParametersPagetqStatus() { setFinishEnabled(_folderParameters, !_host->text().stripWhiteSpace().isEmpty() && @@ -190,7 +190,7 @@ void KNetAttach::finished() recent.setGroup("General"); TQStringList idx = recent.readListEntry("Index"); recent.deleteGroup(name); // erase anything stale - if (idx.contains(name)) { + if (idx.tqcontains(name)) { idx.remove(name); idx.prepend(name); recent.writeEntry("Index", idx); -- cgit v1.2.1