summaryrefslogtreecommitdiffstats
path: root/kcontrol/kio/policydlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kio/policydlg.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kio/policydlg.cpp')
-rw-r--r--kcontrol/kio/policydlg.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kcontrol/kio/policydlg.cpp b/kcontrol/kio/policydlg.cpp
index 8e59c4bb0..463806266 100644
--- a/kcontrol/kio/policydlg.cpp
+++ b/kcontrol/kio/policydlg.cpp
@@ -16,11 +16,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qpushbutton.h>
-#include <qwhatsthis.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qvalidator.h>
+#include <tqpushbutton.h>
+#include <tqwhatsthis.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqvalidator.h>
#include <klineedit.h>
#include <kcombobox.h>
@@ -33,12 +33,12 @@
class DomainLineValidator : public QValidator
{
public:
- DomainLineValidator(QObject *parent)
- :QValidator(parent, "domainValidator")
+ DomainLineValidator(TQObject *parent)
+ :TQValidator(parent, "domainValidator")
{
}
- State validate(QString &input, int &) const
+ State validate(TQString &input, int &) const
{
if (input.isEmpty() || (input == "."))
return Intermediate;
@@ -56,7 +56,7 @@ public:
};
-PolicyDlg::PolicyDlg (const QString& caption, QWidget *parent,
+PolicyDlg::PolicyDlg (const TQString& caption, TQWidget *parent,
const char *name)
: KDialogBase(parent, name, true, caption, Ok|Cancel, Ok, true)
{
@@ -67,14 +67,14 @@ PolicyDlg::PolicyDlg (const QString& caption, QWidget *parent,
m_dlgUI->cbPolicy->setMinimumWidth( m_dlgUI->cbPolicy->fontMetrics().maxWidth() * 25 );
enableButtonOK( false );
- connect(m_dlgUI->leDomain, SIGNAL(textChanged(const QString&)),
- SLOT(slotTextChanged(const QString&)));
+ connect(m_dlgUI->leDomain, TQT_SIGNAL(textChanged(const TQString&)),
+ TQT_SLOT(slotTextChanged(const TQString&)));
setFixedSize (sizeHint());
m_dlgUI->leDomain->setFocus ();
}
-void PolicyDlg::setEnableHostEdit( bool state, const QString& host )
+void PolicyDlg::setEnableHostEdit( bool state, const TQString& host )
{
if ( !host.isEmpty() )
m_dlgUI->leDomain->setText( host );
@@ -95,12 +95,12 @@ int PolicyDlg::advice () const
return m_dlgUI->cbPolicy->currentItem() + 1;
}
-QString PolicyDlg::domain () const
+TQString PolicyDlg::domain () const
{
return m_dlgUI->leDomain->text();
}
-void PolicyDlg::slotTextChanged( const QString& text )
+void PolicyDlg::slotTextChanged( const TQString& text )
{
enableButtonOK( text.length() > 1 );
}