diff options
Diffstat (limited to 'kolf/newgame.cpp')
-rw-r--r-- | kolf/newgame.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kolf/newgame.cpp b/kolf/newgame.cpp index 1754cf1b..d42da4a6 100644 --- a/kolf/newgame.cpp +++ b/kolf/newgame.cpp @@ -52,7 +52,7 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *parent, const char *_ addButton = new KPushButton(i18n("&New Player"), playerPage); bigLayout->addWidget(addButton); - connect(addButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addPlayer())); + connect(addButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(addPlayer())); scroller = new TQScrollView(playerPage); bigLayout->addWidget(scroller); @@ -92,7 +92,7 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *parent, const char *_ TQVBoxLayout *coursePageLayout = new TQVBoxLayout(coursePage, marginHint(), spacingHint()); KURLLabel *coursesLink = new KURLLabel("http://web.mit.edu/~jasonkb/www/kolf/", "http://web.mit.edu/~jasonkb/www/kolf/", coursePage); - connect(coursesLink, TQT_SIGNAL(leftClickedURL(const TQString &)), kapp, TQT_SLOT(invokeBrowser(const TQString &))); + connect(coursesLink, TQ_SIGNAL(leftClickedURL(const TQString &)), kapp, TQ_SLOT(invokeBrowser(const TQString &))); coursePageLayout->addWidget(coursesLink); TQHBoxLayout *hlayout = new TQHBoxLayout(coursePageLayout, spacingHint()); @@ -131,8 +131,8 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *parent, const char *_ hlayout->addWidget(courseList); courseList->insertStringList(nameList); courseList->setCurrentItem(curItem); - connect(courseList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(courseSelected(int))); - connect(courseList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); + connect(courseList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(courseSelected(int))); + connect(courseList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged())); TQVBoxLayout *detailLayout = new TQVBoxLayout(hlayout, spacingHint()); name = new TQLabel(coursePage); @@ -148,7 +148,7 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *parent, const char *_ detailLayout->addStretch(); KPushButton *scores = new KPushButton(i18n("Highscores"), coursePage); - connect(scores, TQT_SIGNAL(clicked()), this, TQT_SLOT(showHighscores())); + connect(scores, TQ_SIGNAL(clicked()), this, TQ_SLOT(showHighscores())); detailLayout->addWidget(scores); detailLayout->addStretch(); @@ -158,11 +158,11 @@ NewGameDialog::NewGameDialog(bool enableCourses, TQWidget *parent, const char *_ KPushButton *addCourseButton = new KPushButton(i18n("Add..."), coursePage); minorLayout->addWidget(addCourseButton); - connect(addCourseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addCourse())); + connect(addCourseButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(addCourse())); remove = new KPushButton(i18n("Remove"), coursePage); minorLayout->addWidget(remove); - connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeCourse())); + connect(remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeCourse())); courseSelected(curItem); selectionChanged(); @@ -289,7 +289,7 @@ void NewGameDialog::addPlayer() editors.append(new PlayerEditor(i18n("Player %1").arg(editors.count() + 1), *startColors.at(editors.count()), layout)); editors.last()->show(); - connect(editors.last(), TQT_SIGNAL(deleteEditor(PlayerEditor *)), this, TQT_SLOT(deleteEditor(PlayerEditor *))); + connect(editors.last(), TQ_SIGNAL(deleteEditor(PlayerEditor *)), this, TQ_SLOT(deleteEditor(PlayerEditor *))); enableButtons(); } @@ -336,7 +336,7 @@ PlayerEditor::PlayerEditor(TQString startName, TQColor startColor, TQWidget *par remove->setAutoMask(true); layout->addWidget(remove); remove->setBackgroundPixmap(grass); - connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeMe())); + connect(remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeMe())); } void PlayerEditor::removeMe() |