[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.h,1.54,1.55 atlantik.cpp,1.140,1.141

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv24490/client

Modified Files:
	atlantik.h atlantik.cpp 
Log Message:
allow knotify events to be configured, too

Index: atlantik.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- atlantik.h	20 Jan 2003 00:57:23 -0000	1.54
+++ atlantik.h	25 Feb 2003 04:20:38 -0000	1.55
@@ -125,6 +125,12 @@
 	void slotConfigure();
 
 	/**
+	 * Opens the KNotify dialog for configuration events.
+	 *
+	 */
+	void configureNotifications();
+
+	/**
 	 * Reads values from configuration dialog and stores them into
 	 * global configuration struct. If values have changed, appropriate
 	 * methods within the application are called. Configuration is saved

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- atlantik.cpp	25 Feb 2003 02:49:48 -0000	1.140
+++ atlantik.cpp	25 Feb 2003 04:20:38 -0000	1.141
@@ -25,6 +25,7 @@
 #include <kconfig.h>
 #include <klocale.h>
 #include <knotifyclient.h>
+#include <knotifydialog.h>
 #include <kstdgameaction.h>
 #include <kstdaction.h>
 #include <ktoolbar.h>
@@ -56,6 +57,7 @@
 
 	// Toolbar: Settings
 	KStdAction::preferences(this, SLOT(slotConfigure()), actionCollection());
+	KStdAction::configureNotifications(this, SLOT(configureNotifications()), actionCollection());
 
 	// Initialize pointers to 0L
 	m_configDialog = 0;
@@ -413,6 +415,11 @@
 	m_configDialog->show();
 	
 	connect(m_configDialog, SIGNAL(okClicked()), this, SLOT(slotUpdateConfig()));
+}
+
+void Atlantik::configureNotifications()
+{
+	KNotifyDialog::configure(this);
 }
 
 void Atlantik::slotUpdateConfig()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.