|
|
|
@ -131,16 +131,16 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i
|
|
|
|
|
mLayout->updatePositions(mTDEConfig);
|
|
|
|
|
|
|
|
|
|
// create the menu
|
|
|
|
|
mMenu = new KPopupMenu(this);
|
|
|
|
|
mMenu = new TDEPopupMenu(this);
|
|
|
|
|
mMenu->insertTitle(SmallIcon("hwinfo"), i18n("Kima"));
|
|
|
|
|
|
|
|
|
|
if (mCpufreqd.enabled()) {
|
|
|
|
|
mMenu->insertItem(i18n("&Performance Profiles"), mCpufreqd.menu());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KActionCollection* actionCollection = new KActionCollection(this, "actionCollection", kapp);
|
|
|
|
|
TDEActionCollection* actionCollection = new TDEActionCollection(this, "actionCollection", kapp);
|
|
|
|
|
|
|
|
|
|
KAction* action = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(preferences()), actionCollection);
|
|
|
|
|
TDEAction* action = KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(preferences()), actionCollection);
|
|
|
|
|
action->setText(i18n("&Preferences"));
|
|
|
|
|
action->plug(mMenu);
|
|
|
|
|
|
|
|
|
|