diff --git a/kaffeine/src/kaffeine.cpp b/kaffeine/src/kaffeine.cpp
index 54d9df1..a3db1a9 100644
--- a/kaffeine/src/kaffeine.cpp
+++ b/kaffeine/src/kaffeine.cpp
@@ -683,6 +683,8 @@ void Kaffeine::setupActions()
m_autoResizeTriple = new TDEToggleAction(i18n("Triple Size"), 0, ALT|Key_3, TQT_TQOBJECT(this), TQT_SLOT(slotAutoresizeTriple()), actionCollection(), "view_auto_resize_triple");
m_playersMenu = new TDEActionMenu(i18n("&Player Engine"), actionCollection(), "options_player");
+ m_instWizard = new TDEAction(i18n("Installation &Wizard"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstWizard()), actionCollection(), "inst_wizard");
+
KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()), actionCollection(), "options_preferences");
@@ -1619,6 +1621,18 @@ void Kaffeine::slotMute()
mute();
}
+void Kaffeine::slotInstWizard()
+{
+ TQString stamp = locateLocal("appdata", "wizard_stamp_v0.7.1");
+ InstWizard::showWizard();
+
+ TDEProcess process;
+ process << "touch" << stamp;
+ process.start(TDEProcess::Block, TDEProcess::Stderr);
+ process.clearArguments();
+}
+
+
/********* DCOP INTERFACE *********/
void Kaffeine::openURL(TQString url)
diff --git a/kaffeine/src/kaffeine.h b/kaffeine/src/kaffeine.h
index 85136dc..86477a1 100644
--- a/kaffeine/src/kaffeine.h
+++ b/kaffeine/src/kaffeine.h
@@ -193,6 +193,7 @@ private slots:
void slotDvbClient(bool,const TQString&,int,int,const TQString&);
void slotNumKeyInput( int );
void slotDVBNextBack( int );
+ void slotInstWizard();
private:
void autoresize();
@@ -258,7 +259,8 @@ private:
TDEToggleAction* m_autoResizeTriple;
TDEToggleAction* m_originalAspect;
TDEToggleAction* m_toggleLayout;
- TDEActionMenu* m_playersMenu;
+ TDEActionMenu* m_playersMenu;
+ TDEAction* m_instWizard;
TDEToggleAction* m_sleepAfterPlay;
TDEToggleAction* m_quitAfterPlay;
TDEToggleAction* m_quitAfterPlaylist;
diff --git a/kaffeine/src/kaffeineui.rc b/kaffeine/src/kaffeineui.rc
index f65f541..a827bba 100644
--- a/kaffeine/src/kaffeineui.rc
+++ b/kaffeine/src/kaffeineui.rc
@@ -34,6 +34,7 @@