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 <[email protected]>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "app.h"
// #include <tqlcdnumber.h>
// #include <tqlayout.h>
//
// // KDE includes
// #include <tdeglobal.h>
// #include <tdelocale.h>
// #include <tdeaboutdata.h>
// #include <tdeconfig.h>
// #include <tdeapplication.h>
// #include <tdemessagebox.h>
// #include <tdeapplication.h>
// #include <tdemessagebox.h>
// #include <dcopclient.h>
// #include <tdeaboutapplication.h>
/*
#include "kmfsystray.h"
#include "kmfiptwatcher.h"
#include "mainwidget.h"
*/
MainApp::MainApp() : TDEApplication() {
// Get the current application configuration handle
// KMessageBox::information( 0, i18n( "Starting Deamon" ) );
// TDEConfig *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() {}
|