1 /***************************************************************************
2 * Copyright (C) 2003-2005 by liuspider *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
10 #include "scimhangulsettingloader.h"
12 #include "scim_hangul.h"
13 #include "scim_hangul_ui.h"
15 #include <kgenericfactory.h>
18 typedef KGenericFactory<ScimHangulSettingLoader> ScimHangulSettingLoaderFactory;
20 K_EXPORT_COMPONENT_FACTORY( kcm_skimplugin_scim_hangul,
21 ScimHangulSettingLoaderFactory( "kcm_skimplugin_scim_hangul" ) )
23 class ScimHangulSettingLoader::ScimHangulSettingLoaderPrivate {
25 ScimHangulSetting * ui;
28 ScimHangulSettingLoader::ScimHangulSettingLoader(QWidget *parent,
29 const char */*name*/, const QStringList &args)
30 : KAutoCModule( ScimHangulSettingLoaderFactory::instance(),
31 parent, args, ScimHangulConfig::self() ),
32 d(new ScimHangulSettingLoaderPrivate)
34 KGlobal::locale()->insertCatalogue("skim-scim-hangul");
35 d->ui = new ScimHangulSetting(this);
39 ScimHangulSettingLoader::~ScimHangulSettingLoader()
41 KGlobal::locale()->removeCatalogue("skim-scim-hangul");
43 #include "scimhangulsettingloader.moc"