summaryrefslogtreecommitdiffstats
path: root/kolf/newgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/newgame.cpp')
-rw-r--r--kolf/newgame.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kolf/newgame.cpp b/kolf/newgame.cpp
index 2fd048c1..5badc856 100644
--- a/kolf/newgame.cpp
+++ b/kolf/newgame.cpp
@@ -57,7 +57,7 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *tqparent, const char
scroller = new TQScrollView(playerPage);
bigLayout->addWidget(scroller);
tqlayout = new TQVBox(scroller->viewport());
- if (!TQPixmapCache::tqfind("grass", grass))
+ if (!TQPixmapCache::find("grass", grass))
{
grass.load(locate("appdata", "pics/grass.png"));
TQPixmapCache::insert("grass", grass);
@@ -235,7 +235,7 @@ void NewGameDialog::removeCourse()
return;
TQString file = *names.at(curItem);
- if (externCourses.tqcontains(file) < 1)
+ if (externCourses.contains(file) < 1)
return;
names.remove(file);
@@ -248,7 +248,7 @@ void NewGameDialog::removeCourse()
void NewGameDialog::selectionChanged()
{
const int curItem = courseList->currentItem();
- remove->setEnabled(!(curItem < 0 || externCourses.tqcontains(*names.at(curItem)) < 1));
+ remove->setEnabled(!(curItem < 0 || externCourses.contains(*names.at(curItem)) < 1));
}
void NewGameDialog::addCourse()
@@ -259,7 +259,7 @@ void NewGameDialog::addCourse()
for (TQStringList::Iterator fileIt = files.begin(); fileIt != files.end(); ++fileIt)
{
- if (names.tqcontains(*fileIt) > 0)
+ if (names.contains(*fileIt) > 0)
{
hasDuplicates = true;
continue;
@@ -316,7 +316,7 @@ PlayerEditor::PlayerEditor(TQString startName, TQColor startColor, TQWidget *tqp
{
TQHBoxLayout *tqlayout = new TQHBoxLayout(this, KDialogBase::spacingHint());
- if (!TQPixmapCache::tqfind("grass", grass))
+ if (!TQPixmapCache::find("grass", grass))
{
grass.load(locate("appdata", "pics/grass.png"));
TQPixmapCache::insert("grass", grass);