summaryrefslogtreecommitdiffstats
path: root/juk/tagguesser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/tagguesser.cpp')
-rw-r--r--juk/tagguesser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/juk/tagguesser.cpp b/juk/tagguesser.cpp
index 3881d124..57714842 100644
--- a/juk/tagguesser.cpp
+++ b/juk/tagguesser.cpp
@@ -93,7 +93,7 @@ TQString FileNameScheme::composeRegExp(const TQString &s) const
{
TQMap<TQChar, TQString> substitutions;
- KConfigGroup config(TDEGlobal::config(), "TagGuesser");
+ TDEConfigGroup config(TDEGlobal::config(), "TagGuesser");
substitutions[ 't' ] = config.readEntry("Title regexp", "([\\w\\s'&_,\\.]+)");
substitutions[ 'a' ] = config.readEntry("Artist regexp", "([\\w\\s'&_,\\.]+)");
@@ -113,7 +113,7 @@ TQStringList TagGuesser::schemeStrings()
{
TQStringList schemes;
- KConfigGroup config(TDEGlobal::config(), "TagGuesser");
+ TDEConfigGroup config(TDEGlobal::config(), "TagGuesser");
schemes = config.readListEntry("Filename schemes");
if ( schemes.isEmpty() ) {
@@ -150,9 +150,9 @@ TQStringList TagGuesser::schemeStrings()
void TagGuesser::setSchemeStrings(const TQStringList &schemes)
{
- KConfig *cfg = kapp->config();
+ TDEConfig *cfg = kapp->config();
{
- KConfigGroupSaver saver(cfg, "TagGuesser");
+ TDEConfigGroupSaver saver(cfg, "TagGuesser");
cfg->writeEntry("Filename schemes", schemes);
}
cfg->sync();