From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- filesharing/advanced/kcm_sambaconf/common.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'filesharing/advanced/kcm_sambaconf/common.cpp') diff --git a/filesharing/advanced/kcm_sambaconf/common.cpp b/filesharing/advanced/kcm_sambaconf/common.cpp index 74a6ddd3..cac856f0 100644 --- a/filesharing/advanced/kcm_sambaconf/common.cpp +++ b/filesharing/advanced/kcm_sambaconf/common.cpp @@ -26,21 +26,21 @@ * * ******************************************************************************/ -#include -#include -#include +#include +#include +#include #include "common.h" -void setComboToString(QComboBox* combo,const QString & s) +void setComboToString(TQComboBox* combo,const TQString & s) { int i = combo->listBox()->index(combo->listBox()->findItem(s,Qt::ExactMatch)); combo->setCurrentItem(i); } -bool boolFromText(const QString & value, bool testTrue) +bool boolFromText(const TQString & value, bool testTrue) { - QString lower = value.lower(); + TQString lower = value.lower(); if (testTrue) { if (lower=="yes" || @@ -61,7 +61,7 @@ bool boolFromText(const QString & value, bool testTrue) } } -QString textFromBool(bool value) +TQString textFromBool(bool value) { if (value) return "yes"; -- cgit v1.2.1