blob: 8411d76f06efe7028fde0f2c97bbb37834ffceec (
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
|
/***************************************************************************
main.cpp - description
-------------------
begin : Sun Jan 12 00:54:19 UTC 2003
copyright : (C) 2003 by Juan Luis Baptiste
email : jbaptiste@merlinux.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include <unistd.h>
#include <sys/types.h>
#include <tdemessagebox.h>
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <kuniqueapplication.h>
#include <dcopclient.h>
#include <tdeglobal.h>
#include <kgenericfactory.h>
//#include "knetworkconf.h"
#include "knetworkconfmodule.h"
#include "version.h"
static TDECmdLineOptions options[] =
{
{ 0, 0, 0 }
// INSERT YOUR COMMANDLINE OPTIONS HERE
};
/*typedef KGenericFactory<KNetworkConfModule> KDEDFactory;
K_EXPORT_COMPONENT_FACTORY( knetworkconfmodule, KDEDFactory( "kcm_knetworkconfmodule" ) ); */
extern "C"
{
KDE_EXPORT TDECModule *create_knetworkconfmodule(TQWidget *parent, const char *name)
{
TDEGlobal::locale()->insertCatalogue("knetworkconf");
return new KNetworkConfModule(parent, name);
}
}
|