diff options
author | Michele Calgaro <[email protected]> | 2023-12-15 12:42:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-15 12:42:29 +0900 |
commit | 022d1e16d38cbfd9b2f23c060ce060c259b46f22 (patch) | |
tree | f9ae0af0731751fa7687853605f38612d3c3c6db | |
parent | 8746e143f41db6c9777491c9864ef0601a0c5d46 (diff) | |
download | kima-022d1e16d38cbfd9b2f23c060ce060c259b46f22.tar.gz kima-022d1e16d38cbfd9b2f23c060ce060c259b46f22.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/kima.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kima.cpp b/src/kima.cpp index ff42185..754527c 100644 --- a/src/kima.cpp +++ b/src/kima.cpp @@ -140,11 +140,11 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i TDEActionCollection* actionCollection = new TDEActionCollection(this, "actionCollection", kapp); - TDEAction* action = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(preferences()), actionCollection); + TDEAction* action = KStdAction::preferences(this, TQT_SLOT(preferences()), actionCollection); action->setText(i18n("&Preferences")); action->plug(mMenu); - action = KStdAction::aboutApp(TQT_TQOBJECT(this), TQT_SLOT(about()), actionCollection); + action = KStdAction::aboutApp(this, TQT_SLOT(about()), actionCollection); action->setText(i18n("&About Kima")); action->plug(mMenu); @@ -222,9 +222,9 @@ void Kima::preferences() { //setup the dialog //mPrefsDlg->setFixedSize(mPrefs->size()); mPrefsDlg->setMainWidget(mPrefs); //embed the uic generated class into the kde dialog - connect(mPrefsDlg, TQT_SIGNAL(applyClicked()), TQT_TQOBJECT(this), TQT_SLOT(savePreferences())); - connect(mPrefsDlg, TQT_SIGNAL(okClicked()), TQT_TQOBJECT(this), TQT_SLOT(savePreferences())); - connect(mPrefsDlg, TQT_SIGNAL(cancelClicked()), TQT_TQOBJECT(this), TQT_SLOT(cancelPreferences())); + connect(mPrefsDlg, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(savePreferences())); + connect(mPrefsDlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(savePreferences())); + connect(mPrefsDlg, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(cancelPreferences())); // create new list items and the widgetStack widgets TQPtrListIterator<Source> it(mSources); @@ -247,7 +247,7 @@ void Kima::preferences() { raiseSourcePrefsWidget(mPrefs->sourceListView->firstChild()); // raise that item } - connect(mPrefs->sourceListView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_TQOBJECT(this), TQT_SLOT(raiseSourcePrefsWidget(TQListViewItem*))); + connect(mPrefs->sourceListView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(raiseSourcePrefsWidget(TQListViewItem*))); } // update prefs gui @@ -410,7 +410,7 @@ void Kima::registerSource(Source* source) { displaySource(source->isEnabled() && source->showOnApplet(), source); // connection to add and remove sources from mLayout - connect(source, TQT_SIGNAL(displaySource(bool, Source*)), TQT_TQOBJECT(this), TQT_SLOT(displaySource(bool, Source*))); + connect(source, TQT_SIGNAL(displaySource(bool, Source*)), this, TQT_SLOT(displaySource(bool, Source*))); } void Kima::maybeTip(const TQPoint& inPos){ |