From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krfb/kcm_krfb/configurationwidget.ui | 56 ++++++++++++++++++------------------ krfb/kcm_krfb/kcm_krfb.cpp | 2 +- krfb/kcm_krfb/kcm_krfb.h | 1 + 3 files changed, 30 insertions(+), 29 deletions(-) (limited to 'krfb/kcm_krfb') diff --git a/krfb/kcm_krfb/configurationwidget.ui b/krfb/kcm_krfb/configurationwidget.ui index 66198269..c49101fa 100644 --- a/krfb/kcm_krfb/configurationwidget.ui +++ b/krfb/kcm_krfb/configurationwidget.ui @@ -1,6 +1,6 @@ ConfigurationWidget - + ConfigurationWidget @@ -25,11 +25,11 @@ 6 - + TabWidget2 - + tab @@ -46,14 +46,14 @@ 6 - + GroupBox1 Invitations - + AlignAuto @@ -66,7 +66,7 @@ 6 - + invitationNumLabel @@ -74,7 +74,7 @@ You have no open invitations. - + manageInvitations @@ -95,7 +95,7 @@ - + ButtonGroup7 @@ -120,7 +120,7 @@ 6 - + allowUninvitedCB @@ -134,7 +134,7 @@ Select this option to allow connecting without inviting. This is useful if you want to access your desktop remotely. - + enableSLPCB @@ -148,7 +148,7 @@ If you allow uninvited connections and enable this option, Desktop Sharing will announce the service and your identity on the local network, so people can find you and your computer. - + confirmConnectionsCB @@ -159,7 +159,7 @@ If enabled, a dialog will appear when somebody attempts to connect, asking you whether you want to accept the connection. - + allowDesktopControlCB @@ -170,7 +170,7 @@ Enable this option to allow uninvited user to control your desktop (using mouse and keyboard). - + Frame4 @@ -188,7 +188,7 @@ Plain - + @@ -200,7 +200,7 @@ 6 - + TextLabel1 @@ -219,7 +219,7 @@ passwordInput - + passwordInput @@ -247,7 +247,7 @@ Expanding - + 0 50 @@ -256,7 +256,7 @@ - + tab @@ -273,7 +273,7 @@ 6 - + GroupBox4 @@ -290,7 +290,7 @@ 6 - + disableBackgroundCB @@ -316,7 +316,7 @@ Expanding - + 0 20 @@ -325,7 +325,7 @@ - + tab @@ -342,7 +342,7 @@ 6 - + GroupBox3 @@ -359,7 +359,7 @@ 6 - + autoPortCB @@ -373,7 +373,7 @@ Check this option to assign the network port automatically. This is recommended unless your network setup requires you to use a fixed port, for example because of a firewall. - + portInputFrame @@ -396,7 +396,7 @@ 6 - + TextLabel1_2 @@ -442,7 +442,7 @@ Most VNC clients use a display number instead of the actual port. This display n Expanding - + 0 20 @@ -495,7 +495,7 @@ Most VNC clients use a display number instead of the actual port. This display n passwordInput portInput - + knuminput.h knuminput.h diff --git a/krfb/kcm_krfb/kcm_krfb.cpp b/krfb/kcm_krfb/kcm_krfb.cpp index 50595505..688b674b 100644 --- a/krfb/kcm_krfb/kcm_krfb.cpp +++ b/krfb/kcm_krfb/kcm_krfb.cpp @@ -97,7 +97,7 @@ void KcmKRfb::setInvitationNum(int num) { if (num == 0) m_confWidget->invitationNumLabel->setText(i18n("You have no open invitation.")); else - m_confWidget->invitationNumLabel->setText(i18n("Open invitations: %1").arg(num)); + m_confWidget->invitationNumLabel->setText(i18n("Open invitations: %1").tqarg(num)); } void KcmKRfb::checkKInetd(bool &kinetdAvailable, bool &krfbAvailable) { diff --git a/krfb/kcm_krfb/kcm_krfb.h b/krfb/kcm_krfb/kcm_krfb.h index 9fa81fc9..81be997f 100644 --- a/krfb/kcm_krfb/kcm_krfb.h +++ b/krfb/kcm_krfb/kcm_krfb.h @@ -27,6 +27,7 @@ class KcmKRfb : public KCModule { Q_OBJECT + TQ_OBJECT private: Configuration m_configuration; ConfigurationWidget *m_confWidget; -- cgit v1.2.1