summaryrefslogtreecommitdiffstats
path: root/KMFSysTray/app.cpp
blob: 334a5e8d1043e47a14a55c981edd4a534547f595 (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 <tqlcdnumber.h>
// #include <tqlayout.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, TQT_SIGNAL( sigUpdateActive( bool ) ), mainWid, TQT_SLOT( slotSetRunningStatus( bool ) ) );
//	connect( watch, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ), 
//		mainWid, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ) );

//	connect( mainWid, TQT_SIGNAL( sigQueryDetails( bool ) ), watch, TQT_SLOT( slotQueryDetails( bool ) ) );
/*	
	TQHBoxLayout *_layout = new TQHBoxLayout(this);
  	_layout->add(mainWid);*/





}


MainApp::~MainApp() {}