[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/kdetv/clients/kdetv
From: Dirk Ziegelmeier <dziegel () gmx ! de>
Date: 2005-08-21 18:40:56
Message-ID: 1124649656.960715.542.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 451772 by dziegel:
Add "kdetv FAQ" menu entry
M +2 -1 kdetvui.rc
M +9 -0 mainwindow.cpp
M +2 -0 mainwindow.h
--- trunk/extragear/multimedia/kdetv/clients/kdetv/kdetvui.rc #451771:451772
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui>
-<kpartgui name="kdetv" version="15">
+<kpartgui name="kdetv" version="16">
<MenuBar>
<Menu name="file"><text>&kdetv</text>
<Action name="channel_up"/>
@@ -44,6 +44,7 @@
</Menu>
<Merge/>
<Menu name="help"><text>&Help</text>
+ <Action name="help_view_faq"/>
<Action name="help_view_website"/>
<Action name="help_tip_of_the_day"/>
</Menu>
--- trunk/extragear/multimedia/kdetv/clients/kdetv/mainwindow.cpp #451771:451772
@@ -276,6 +276,9 @@
_actWebSite = new KAction( i18n("kdetv Web Site"), "html", 0,
this, SLOT( showWebSite() ),
acts, "help_view_website" );
+ _actFAQ = new KAction( i18n("kdetv FAQ"), "help", 0,
+ this, SLOT( showFAQ() ),
+ acts, "help_view_faq" );
_sleepTime = new KToggleAction( i18n("Sleep Timer"), "kalarm", Key_T,
this, SLOT( sleepTimer() ), acts,
@@ -586,6 +589,12 @@
KRun::runURL( url, QString("text/html") );
}
+void MainWindow::showFAQ()
+{
+ KURL url( i18n("http://docs.kde.org/development/en/extragear-multimedia/kdetv/faq.html") );
+ KRun::runURL( url, QString("text/html") );
+}
+
void MainWindow::lircCommand(const QString &cmd, unsigned /*repeat*/)
{
if (cmd.length() == 1 && cmd[0] >= '0' && cmd[0] <= '9') {
--- trunk/extragear/multimedia/kdetv/clients/kdetv/mainwindow.h #451771:451772
@@ -63,6 +63,7 @@
void disableScreenSaver( bool );
void showWebSite();
+ void showFAQ();
void showTipOfTheDay();
/**
@@ -240,6 +241,7 @@
KAction* _actChangeLog;
KAction* _actCVSLog;
+ KAction* _actFAQ;
KAction* _actWebSite;
KAction* _actConfigToolbar;
KAction* _actShowTips;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic