From c3b707c026782768bd8c0e6ae6b574fe8a36802d Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 17 Feb 2010 01:04:17 +0000 Subject: Added old abandoned KDE3 version of kmyfirewall git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1091559 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- KMFSysTray/app.cpp | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 KMFSysTray/app.cpp (limited to 'KMFSysTray/app.cpp') diff --git a/KMFSysTray/app.cpp b/KMFSysTray/app.cpp new file mode 100644 index 0000000..bacfda0 --- /dev/null +++ b/KMFSysTray/app.cpp @@ -0,0 +1,63 @@ +// +// C++ Implementation: app +// +// Description: +// +// +// Author: Christian Hubinger , (C) 2005 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#include "app.h" + +// #include +// #include +// +// // KDE includes +// #include +// #include +// #include +// #include +// #include +// #include +// #include +// #include +// #include +// #include + + +/* +#include "kmfsystray.h" +#include "kmfiptwatcher.h" +#include "mainwidget.h" +*/ + +MainApp::MainApp() : KApplication() { + + + // Get the current application configuration handle +// KMessageBox::information( 0, i18n( "Starting Deamon" ) ); + +// KConfig *ksConfig = config(); +// KMFIPTWatcher *watch = new KMFIPTWatcher( this, "KMFIPTWatcher" ); +// MainWidget *mainWid = new MainWidget( 0 ); +// connect( watch, SIGNAL( sigUpdateActive( bool ) ), mainWid, SLOT( slotSetRunningStatus( bool ) ) ); +// connect( watch, SIGNAL( sigUpdateRuleCount( const QString&, const QString&, int ) ), +// mainWid, SIGNAL( sigUpdateRuleCount( const QString&, const QString&, int ) ) ); + +// connect( mainWid, SIGNAL( sigQueryDetails( bool ) ), watch, SLOT( slotQueryDetails( bool ) ) ); +/* + QHBoxLayout *_layout = new QHBoxLayout(this); + _layout->add(mainWid);*/ + + + + + +} + + +MainApp::~MainApp() {} + + -- cgit v1.2.1