summaryrefslogtreecommitdiffstats
path: root/kcontrol/konqhtml/policies.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/konqhtml/policies.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/konqhtml/policies.cpp')
-rw-r--r--kcontrol/konqhtml/policies.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/konqhtml/policies.cpp b/kcontrol/konqhtml/policies.cpp
index 153c80888..524bd4d15 100644
--- a/kcontrol/konqhtml/policies.cpp
+++ b/kcontrol/konqhtml/policies.cpp
@@ -26,14 +26,14 @@
// == class Policies ==
-Policies::Policies(KConfig* config,const QString &group,
- bool global,const QString &domain, const QString &prefix,
- const QString &feature_key) :
+Policies::Policies(KConfig* config,const TQString &group,
+ bool global,const TQString &domain, const TQString &prefix,
+ const TQString &feature_key) :
is_global(global), config(config), groupname(group),
prefix(prefix), feature_key(feature_key) {
if (is_global) {
- this->prefix = QString::null; // global keys have no prefix
+ this->prefix = TQString::null; // global keys have no prefix
}/*end if*/
setDomain(domain);
}
@@ -41,7 +41,7 @@ Policies::Policies(KConfig* config,const QString &group,
Policies::~Policies() {
}
-void Policies::setDomain(const QString &domain) {
+void Policies::setDomain(const TQString &domain) {
if (is_global) return;
this->domain = domain.lower();
groupname = this->domain; // group is domain in this case
@@ -50,7 +50,7 @@ void Policies::setDomain(const QString &domain) {
void Policies::load() {
config->setGroup(groupname);
- QString key = prefix + feature_key;
+ TQString key = prefix + feature_key;
if (config->hasKey(key))
feature_enabled = config->readBoolEntry(key);
else
@@ -64,7 +64,7 @@ void Policies::defaults() {
void Policies::save() {
config->setGroup(groupname);
- QString key = prefix + feature_key;
+ TQString key = prefix + feature_key;
if (feature_enabled != INHERIT_POLICY)
config->writeEntry(key, (bool)feature_enabled);
else