diff options
Diffstat (limited to 'libtdegames/kchatbase.cpp')
-rw-r--r-- | libtdegames/kchatbase.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libtdegames/kchatbase.cpp b/libtdegames/kchatbase.cpp index 17f831a0..cae06fb5 100644 --- a/libtdegames/kchatbase.cpp +++ b/libtdegames/kchatbase.cpp @@ -21,7 +21,7 @@ #include <klineedit.h> #include <tdelocale.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeconfig.h> #include <tdeapplication.h> #include <kdebug.h> @@ -206,12 +206,12 @@ void KChatBase::init(bool noComboBox) TQVBoxLayout* l = new TQVBoxLayout(this); d->mBox = new TQListBox(this); - connect(d->mBox, TQT_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)), - this, TQT_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&))); + connect(d->mBox, TQ_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&)), + this, TQ_SIGNAL(rightButtonClicked(TQListBoxItem*, const TQPoint&))); l->addWidget(d->mBox); d->mBox->setVScrollBarMode(TQScrollView::AlwaysOn); d->mBox->setHScrollBarMode(TQScrollView::AlwaysOff); - d->mBox->setFocusPolicy(TQ_NoFocus); + d->mBox->setFocusPolicy(TQWidget::NoFocus); // d->mBox->setSelectionMode(TQListBox::NoSelection); d->mBox->setSelectionMode(TQListBox::Single); @@ -223,7 +223,7 @@ void KChatBase::init(bool noComboBox) d->mEdit->setTrapReturnKey(true); d->mEdit->completionObject(); // add the completion object d->mEdit->setCompletionMode(TDEGlobalSettings::CompletionNone); - connect(d->mEdit, TQT_SIGNAL(returnPressed(const TQString&)), this, TQT_SLOT(slotReturnPressed(const TQString&))); + connect(d->mEdit, TQ_SIGNAL(returnPressed(const TQString&)), this, TQ_SLOT(slotReturnPressed(const TQString&))); h->addWidget(d->mEdit); if (!noComboBox) { @@ -235,8 +235,8 @@ void KChatBase::init(bool noComboBox) d->mAcceptMessage = true; // by default setMaxItems(-1); // unlimited - if (kapp) { - // kapp might be NULL as well - in case we are in TQt designer. + if (tdeApp) { + // tdeApp might be NULL as well - in case we are in TQt designer. readConfig(); } } @@ -399,7 +399,7 @@ void KChatBase::slotReturnPressed(const TQString& text) return; } d->mEdit->completionObject()->addItem(text); -// connect(d->mEdit, TQT_SIGNAL(returnPressed(const TQString&)), comp, TQT_SLOT(addItem(const TQString&))); +// connect(d->mEdit, TQ_SIGNAL(returnPressed(const TQString&)), comp, TQ_SLOT(addItem(const TQString&))); d->mEdit->clear(); returnPressed(text); } @@ -469,7 +469,7 @@ void KChatBase::saveConfig(TDEConfig* conf) { TQString oldGroup; if (!conf) { - conf = kapp->config(); + conf = tdeApp->config(); oldGroup = conf->group(); conf->setGroup("KChatBase"); } @@ -489,7 +489,7 @@ void KChatBase::readConfig(TDEConfig* conf) { TQString oldGroup; if (!conf) { - conf = kapp->config(); + conf = tdeApp->config(); oldGroup = conf->group(); conf->setGroup("KChatBase"); } |