[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:18:57 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=22ae1eb
The following commit has been merged in the master branch:
commit 22ae1ebdb69817fe3926fef4931088985b02fdbb
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date: Fri Feb 18 19:29:28 2011 +0000
Add notifications configure dialog and fix linking
---
app/CMakeLists.txt | 11 +++++++++--
app/chatwindow.cpp | 9 ++++++++-
app/chatwindow.h | 1 +
app/main.cpp | 1 -
lib/CMakeLists.txt | 3 ++-
5 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 738a3b6..f626914 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -10,7 +10,14 @@ set(telepathy_chat_handler_SRCS
kde4_add_executable(telepathy-chat-handler ${telepathy_chat_handler_SRCS})
-target_link_libraries(telepathy-chat-handler ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${TELEPATHY_QT4_LIBRARIES} ${QT_QTWEBKIT_LIBRARY} ${KDE4_KUTILS_LIBS} ktelepathy_chat_lib)
+target_link_libraries(telepathy-chat-handler
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${TELEPATHY_QT4_LIBRARIES}
+ ${QT_QTWEBKIT_LIBRARY}
+ ${KDE4_KNOTIFYCONFIG_LIBS}
+ ${KDE4_KCMUTILS_LIBS}
+ ktelepathy_chat_lib)
configure_file(org.freedesktop.Telepathy.Client.KDEChatHandler.service.in
${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KDEChatHandler.service)
@@ -20,4 +27,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KDECh
DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
install(FILES KDEChatHandler.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/)
install(FILES chatwindow.rc
- DESTINATION ${DATA_INSTALL_DIR}/telepathy-chat-handler/)
+ DESTINATION ${DATA_INSTALL_DIR}/ktelepathy/)
diff --git a/app/chatwindow.cpp b/app/chatwindow.cpp
index 5cf2ea0..fed4381 100644
--- a/app/chatwindow.cpp
+++ b/app/chatwindow.cpp
@@ -31,13 +31,14 @@
#include <KColorScheme>
#include <KTabBar>
#include <KSettings/Dialog>
+#include <KNotifyConfigWidget>
ChatWindow::ChatWindow()
{
//setup actions
KStandardAction::quit(KApplication::instance(), SLOT(quit()), actionCollection());
KStandardAction::preferences(this, SLOT(showSettingsDialog()), actionCollection());
-
+ KStandardAction::configureNotifications(this, SLOT(showNotificationsDialog()), actionCollection());
// set up m_tabWidget
m_tabWidget = new KTabWidget(this);
@@ -149,4 +150,10 @@ void ChatWindow::showSettingsDialog()
dialog->show();
}
+void ChatWindow::showNotificationsDialog()
+{
+ KNotifyConfigWidget::configure(this, "ktelepathy");
+}
+
+
#include "chatwindow.moc"
\ No newline at end of file
diff --git a/app/chatwindow.h b/app/chatwindow.h
index e6e2ffd..663a54a 100644
--- a/app/chatwindow.h
+++ b/app/chatwindow.h
@@ -46,6 +46,7 @@ public slots:
protected slots:
void showSettingsDialog();
+ void showNotificationsDialog();
private:
KTabWidget *m_tabWidget;
diff --git a/app/main.cpp b/app/main.cpp
index 06281e2..1a08bac 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -36,7 +36,6 @@ int main(int argc, char *argv[])
0,
ki18n("Telepathy Chat Handler"),
"0.1");
-
aboutData.addAuthor(ki18n("David Edmundson"), ki18n("Developer"), "david at davidedmundson.co.uk");
aboutData.addAuthor(ki18n("Dominik Schmidt"), ki18n("Developer"), "kde at dominik-schmidt.de");
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index f4e46aa..f31dbc7 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -25,7 +25,8 @@ target_link_libraries(ktelepathy_chat_lib
${KDE4_KDEUI_LIBS}
${TELEPATHY_QT4_LIBRARIES}
${QT_QTWEBKIT_LIBRARY}
- ${KDE4_KUTILS_LIBS}
+ ${KDE4_KEMOTICONS_LIBS}
+ ${KDE4_KCMUTILS_LIBS}
)
install(TARGETS ktelepathy_chat_lib ${INSTALL_TARGETS_DEFAULT_ARGS})
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list