[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/make_kget_cool/kget
From: Urs Wolfer <uwolfer () fwo ! ch>
Date: 2006-07-31 11:35:23
Message-ID: 1154345723.847029.22802.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 568170 by uwolfer:
port to new KNotification
M +1 -1 CMakeLists.txt
M +5 -4 kget.cpp
M +1 -1 sounds/CMakeLists.txt
D sounds/eventsrc
A sounds/kget.notifyrc sounds/eventsrc#566505
--- branches/work/make_kget_cool/kget/CMakeLists.txt #568169:568170
@@ -79,7 +79,7 @@
kde4_add_executable(kget ${kget_SRCS})
-target_link_libraries(kget ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY} \
${KDE4_KIO_LIBRARY} kgetcore) +target_link_libraries(kget ${KDE4_KDECORE_LIBS} \
${KDE4_KDEUI_LIBRARY} ${KDE4_KIO_LIBRARY} knotifyconfig kgetcore)
install(TARGETS kget DESTINATION ${BIN_INSTALL_DIR})
--- branches/work/make_kget_cool/kget/kget.cpp #568169:568170
@@ -19,12 +19,13 @@
#include <kmessagebox.h>
#include <kkeydialog.h>
#include <kedittoolbar.h>
-#include <knotifydialog.h>
+#include <knotifyconfigwidget.h>
#include <kfiledialog.h>
#include <ktoolinvocation.h>
#include <kmenubar.h>
#include <kiconloader.h>
#include <kstdaction.h>
+#include <klocale.h>
#include "kget.h"
#include "core/model.h"
@@ -314,20 +315,20 @@
void KGet::slotStartDownload()
{
m_dock->setDownloading(true);
-
+
Model::setSchedulerRunning(true);
}
void KGet::slotStopDownload()
{
m_dock->setDownloading(false);
-
+
Model::setSchedulerRunning(false);
}
void KGet::slotConfigureNotifications()
{
- KNotifyDialog::configure(this);
+ KNotifyConfigWidget::configure(this);
}
void KGet::slotConfigureKeys()
--- branches/work/make_kget_cool/kget/sounds/CMakeLists.txt #568169:568170
@@ -1,4 +1,4 @@
-install(FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kget)
+install(FILES kget.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kget)
install(FILES
KGet_Added.ogg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic