[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/utils/rsibreak/src
From: Tom Albers <toma () kde ! org>
Date: 2010-09-29 23:55:25
Message-ID: 20100929235525.0556EAC892 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1181087 by toma:
Add notifications widget to the config. This makes it more discoverable for people to \
associate a shell script at the times of a break, or a sound or whatever. BUG=216435
M +1 -0 CMakeLists.txt
M +7 -0 setup.cpp
A setupnotifications.cpp [License: GPL (v2+)]
A setupnotifications.h [License: GPL (v2+)]
--- trunk/extragear/utils/rsibreak/src/CMakeLists.txt #1181086:1181087
@@ -15,6 +15,7 @@
setup.cpp
setupgeneral.cpp
setuptiming.cpp
+setupnotifications.cpp
main.cpp
rsiwidget.cpp
rsirelaxpopup.cpp
--- trunk/extragear/utils/rsibreak/src/setup.cpp #1181086:1181087
@@ -30,13 +30,16 @@
#include "setupgeneral.h"
#include "setuptiming.h"
#include "setupmaximized.h"
+#include "setupnotifications.h"
+
class SetupPriv
{
public:
SetupGeneral *generalPage;
SetupTiming *timingPage;
SetupMaximized *maximizedPage;
+ SetupNotifications *notificationsPage;
};
Setup::Setup( QWidget* parent )
@@ -57,6 +60,10 @@
KPageWidgetItem* page3 = addPage( d->maximizedPage, i18n( "During Breaks" ) );
page3->setIcon( KIcon( "duringbreaks" ) ); // krazy:exclude=iconnames
+ d->notificationsPage = new SetupNotifications( this );
+ KPageWidgetItem* page4 = addPage( d->notificationsPage, i18n( "Actions" ) );
+ page4->setIcon( KIcon( "configure" ) ); // krazy:exclude=iconnames
+
connect( this, SIGNAL( okClicked() ), this, SLOT( slotOkClicked() ) );
setInitialSize( QSize( 625, 575 ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic