summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/common.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /filesharing/advanced/kcm_sambaconf/common.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/common.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/common.cpp14
1 files changed, 7 insertions, 7 deletions
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 <qstring.h>
-#include <qcombobox.h>
-#include <qlistbox.h>
+#include <tqstring.h>
+#include <tqcombobox.h>
+#include <tqlistbox.h>
#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";