summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteblacklister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopeteblacklister.cpp')
-rw-r--r--kopete/libkopete/kopeteblacklister.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/libkopete/kopeteblacklister.cpp b/kopete/libkopete/kopeteblacklister.cpp
index 29dbf727..cf6ff95e 100644
--- a/kopete/libkopete/kopeteblacklister.cpp
+++ b/kopete/libkopete/kopeteblacklister.cpp
@@ -34,15 +34,15 @@ public:
};
-BlackLister::BlackLister(const TQString &protocolId, const TQString &accountId, TQObject *parent, const char *name)
- : TQObject(parent, name), d( new Private )
+BlackLister::BlackLister(const TQString &protocolId, const TQString &accountId, TQObject *tqparent, const char *name)
+ : TQObject(tqparent, name), d( new Private )
{
KConfig *config = KGlobal::config();
d->owner = accountId;
d->protocol = protocolId;
config->setGroup("BlackLister");
- d->blacklist = config->readListEntry( d->protocol + TQString::fromLatin1("_") + d->owner );
+ d->blacklist = config->readListEntry( d->protocol + TQString::tqfromLatin1("_") + d->owner );
}
BlackLister::~BlackLister()
@@ -53,7 +53,7 @@ BlackLister::~BlackLister()
bool BlackLister::isBlocked(const TQString &contactId)
{
- return (d->blacklist.find( contactId ) != d->blacklist.end() );
+ return (d->blacklist.tqfind( contactId ) != d->blacklist.end() );
}
bool BlackLister::isBlocked(Contact *contact)
@@ -90,7 +90,7 @@ void BlackLister::saveToDisk()
KConfig *config = KGlobal::config();
config->setGroup("BlackLister");
- config->writeEntry( d->protocol + TQString::fromLatin1("_") + d->owner, d->blacklist );
+ config->writeEntry( d->protocol + TQString::tqfromLatin1("_") + d->owner, d->blacklist );
config->sync();
}