summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/kbbprefs.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/backend/kbbprefs.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/backend/kbbprefs.cpp')
-rw-r--r--kbugbuster/backend/kbbprefs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/backend/kbbprefs.cpp b/kbugbuster/backend/kbbprefs.cpp
index 30f337ab..cfef3418 100644
--- a/kbugbuster/backend/kbbprefs.cpp
+++ b/kbugbuster/backend/kbbprefs.cpp
@@ -22,8 +22,8 @@
without including the source code for Qt in the source distribution.
*/
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <klocale.h>
#include <kdebug.h>
@@ -54,7 +54,7 @@ KBBPrefs::KBBPrefs() : KConfigSkeleton()
addItemBool("ShowVotes", mShowVoted, false);
addItemInt("MinimumVotes", mMinVotes, 0);
addItemBool("SendBCC",mSendBCC,false);
- addItemString("OverrideRecipient",mOverrideRecipient,QString::null);
+ addItemString("OverrideRecipient",mOverrideRecipient,TQString::null);
addItemInt("WrapColumn",mWrapColumn,90);
@@ -103,13 +103,13 @@ void KBBPrefs::usrReadConfig()
mMessageButtons.clear();
config()->setGroup("MessageButtons");
- QStringList buttonList = config()->readListEntry("ButtonList");
+ TQStringList buttonList = config()->readListEntry("ButtonList");
if (buttonList.isEmpty()) {
setMessageButtonsDefault();
} else {
- QStringList::ConstIterator it;
+ TQStringList::ConstIterator it;
for(it = buttonList.begin(); it != buttonList.end(); ++it) {
- QString text = config()->readEntry(*it);
+ TQString text = config()->readEntry(*it);
mMessageButtons.insert(*it,text);
}
}
@@ -120,8 +120,8 @@ void KBBPrefs::usrReadConfig()
void KBBPrefs::usrWriteConfig()
{
config()->setGroup("MessageButtons");
- QStringList buttonList;
- QMap<QString,QString>::ConstIterator it;
+ TQStringList buttonList;
+ TQMap<TQString,TQString>::ConstIterator it;
for(it = mMessageButtons.begin();it != mMessageButtons.end();++it) {
buttonList.append(it.key());
config()->writeEntry(it.key(),it.data());