diff options
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/common.cpp')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/common.cpp | 14 |
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"; |