summaryrefslogtreecommitdiffstats
path: root/KMFSysTray/app.cpp
blob: bacfda000b545864da6ba4b81c44b9872473a0be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//
// C++ Implementation: app
//
// Description: 
//
//
// Author: Christian Hubinger <e9806056@student.tuwien.ac.at>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "app.h"

// #include <qlcdnumber.h>
// #include <qlayout.h>
// 
// // KDE includes
// #include <kglobal.h>
// #include <klocale.h>
// #include <kaboutdata.h>
// #include <kconfig.h>
// #include <kapplication.h>
// #include <kmessagebox.h>
// #include <kapplication.h>
// #include <kmessagebox.h>
// #include <dcopclient.h>
// #include <kaboutapplication.h>


/*
#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() {}