summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kima.cpp14
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){