File: xkbsel-kde.cpp

package info (click to toggle)
xkbsel 0.13-10
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,752 kB
  • ctags: 862
  • sloc: sh: 8,953; ansic: 5,960; cpp: 435; makefile: 347; lex: 284; sed: 93
file content (48 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (4)
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
/* $Id: xkbsel-kde.cpp,v 1.3 1999/08/07 12:40:56 stano Exp $ 

   KDE keyboard selection - main program

   (C) 1999 Stanislav Meduna <stano@eunet.sk>
*/


#include <kapp.h>
#include <kwm.h>
#include <qtooltip.h>

#include <selind-kde.h>

#include <config.h>
#include <xkbselx.h>

#include <libintl.h>

#define _(s) gettext(s)



int main(int argc, char **argv)
{
	int r;
	KApplication app(argc, argv, "xkbsel-kde");

	/* Read the config */
	r = read_config();
	if (r < 0)
		exit(1);

	textdomain(PACKAGE);

	SelInd selInd;

	app.setMainWidget(&selInd);

	selInd.constructAll();

	KWM::setDockWindow(selInd.winId());

	selInd.show();

	return app.exec();
}