diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /knetattach | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
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
Diffstat (limited to 'knetattach')
-rw-r--r-- | knetattach/knetattach.ui | 26 | ||||
-rw-r--r-- | knetattach/knetattach.ui.h | 8 |
2 files changed, 17 insertions, 17 deletions
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 @@ <property name="name"> <cstring>KNetAttach</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -96,7 +96,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>250</width> <height>0</height> @@ -131,7 +131,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>31</width> <height>16</height> @@ -145,7 +145,7 @@ <property name="text"> <string>Select the type of network folder you wish to connect to and press the Next button.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -159,7 +159,7 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>21</height> @@ -186,7 +186,7 @@ <property name="text"> <string>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.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -200,7 +200,7 @@ <property name="sizeType"> <enum>Fixed</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>21</height> @@ -327,7 +327,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>560</width> <height>16</height> @@ -367,19 +367,19 @@ <sender>_user</sender> <signal>textChanged(const QString&)</signal> <receiver>KNetAttach</receiver> - <slot>updateParametersPageStatus()</slot> + <slot>updateParametersPagetqStatus()</slot> </connection> <connection> <sender>_host</sender> <signal>textChanged(const QString&)</signal> <receiver>KNetAttach</receiver> - <slot>updateParametersPageStatus()</slot> + <slot>updateParametersPagetqStatus()</slot> </connection> <connection> <sender>_path</sender> <signal>textChanged(const QString&)</signal> <receiver>KNetAttach</receiver> - <slot>updateParametersPageStatus()</slot> + <slot>updateParametersPagetqStatus()</slot> </connection> <connection> <sender>_useEncryption</sender> @@ -427,7 +427,7 @@ <slot access="private">init()</slot> <slot>setInformationText( const QString & type )</slot> <slot access="private">showPage( QWidget * page )</slot> - <slot access="private">updateParametersPageStatus()</slot> + <slot access="private">updateParametersPagetqStatus()</slot> <slot access="private">finished()</slot> <slot access="private">updatePort( bool encryption )</slot> <slot access="private">updateFinishButtonText( bool save )</slot> @@ -436,5 +436,5 @@ <function access="private" returnType="bool">doConnectionTest( const KURL & url )</function> <function access="private" returnType="bool">updateForProtocol( const QString & protocol )</function> </functions> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> 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); |