diff options
Diffstat (limited to 'noatun-plugins/oblique/cmodule.cpp')
-rw-r--r-- | noatun-plugins/oblique/cmodule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp index 5df19b0..d97c21f 100644 --- a/noatun-plugins/oblique/cmodule.cpp +++ b/noatun-plugins/oblique/cmodule.cpp @@ -272,7 +272,7 @@ void SchemaConfig::save() TQString SchemaConfig::nameToFilename(const TQString &_name) { TQString name = _name; - name = name.tqreplace(TQRegExp("[^a-zA-Z0-9]"), "_"); + name = name.replace(TQRegExp("[^a-zA-Z0-9]"), "_"); return name; } @@ -288,7 +288,7 @@ void SchemaConfig::newSchema() TQString filename = nameToFilename(str); - if (mQueries.tqcontains(nameToFilename(filename))) return; + if (mQueries.contains(nameToFilename(filename))) return; QueryItem queryitem; queryitem.query = Query(); @@ -312,7 +312,7 @@ void SchemaConfig::copySchema() TQString filename = nameToFilename(str); - if (mQueries.tqcontains(nameToFilename(filename))) return; + if (mQueries.contains(nameToFilename(filename))) return; QueryItem queryitem; queryitem.query = currentQuery()->query; @@ -621,7 +621,7 @@ void SliceConfig::addSibling() void SliceConfig::removeSelf() { SliceListItem *r = currentItem(); - if (mAddedItems.tqcontains(r)) + if (mAddedItems.contains(r)) { mAddedItems.remove(r); } |