akonadi/contact
22 #include "kcmakonadicontactactions.h"
24 #include "contactactionssettings.h"
25 #include "ui_akonadicontactactions.h"
27 #include <QVBoxLayout>
29 #include <kaboutdata.h>
30 #include <kcomponentdata.h>
31 #include <kconfigdialogmanager.h>
32 #include <kpluginfactory.h>
35 K_PLUGIN_FACTORY( KCMAkonadiContactActionsFactory, registerPlugin<KCMAkonadiContactActions>(); )
36 K_EXPORT_PLUGIN( KCMAkonadiContactActionsFactory(
"kcm_akonadicontact_actions" ) )
38 KCMAkonadiContactActions::KCMAkonadiContactActions( QWidget *parent, const QVariantList& )
39 : KCModule( KCMAkonadiContactActionsFactory::componentData(), parent )
41 KAboutData *about =
new KAboutData( I18N_NOOP(
"kcmakonadicontactactions" ), 0,
42 ki18n(
"Contact Actions Settings" ),
43 0, KLocalizedString(), KAboutData::License_LGPL,
44 ki18n(
"(c) 2009 Tobias Koenig" ) );
46 about->addAuthor( ki18n(
"Tobias Koenig" ), KLocalizedString(),
"tokoe@kde.org" );
48 setAboutData( about );
50 QVBoxLayout *layout =
new QVBoxLayout(
this );
51 QWidget *wdg =
new QWidget;
52 layout->addWidget( wdg );
54 Ui_AkonadiContactActions ui;
57 mConfigManager = addConfig( ContactActionsSettings::self(), wdg );
62 void KCMAkonadiContactActions::load()
64 mConfigManager->updateWidgets();
67 void KCMAkonadiContactActions::save()
69 mConfigManager->updateSettings();
72 void KCMAkonadiContactActions::defaults()
74 mConfigManager->updateWidgetsDefault();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:28:43 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.