• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akonadi/kcm

configmodule.cpp

Go to the documentation of this file.
00001 /*
00002     Copyright (c) 2007 Volker Krause <vkrause@kde.org>
00003     Copyright (c) 2008 Omat Holding B.V. <tomalbers@kde.nl>
00004 
00005     This library is free software; you can redistribute it and/or modify it
00006     under the terms of the GNU Library General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or (at your
00008     option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful, but WITHOUT
00011     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013     License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to the
00017     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018     02110-1301, USA.
00019 */
00020 
00021 #include "configmodule.h"
00022 #include "resourcesmanagementwidget.h"
00023 
00024 #include <kpluginfactory.h>
00025 #include <kpluginloader.h>
00026 #include <qboxlayout.h>
00027 
00028 K_PLUGIN_FACTORY( ResourcesConfigFactory, registerPlugin<ConfigModule>(); )
00029 K_EXPORT_PLUGIN( ResourcesConfigFactory( "imaplib" ) )
00030 
00031 ConfigModule::ConfigModule( QWidget * parent, const QVariantList & args ) :
00032         KCModule( ResourcesConfigFactory::componentData(), parent, args )
00033 {
00034     setButtons( 0 );
00035     QVBoxLayout *l = new QVBoxLayout( this );
00036     l->setMargin( 0 );
00037 
00038     QStringList args2;
00039     foreach( const QVariant& item, args )
00040     args2 << item.toString();
00041 
00042     ResourcesManagementWidget *tmw = new ResourcesManagementWidget( this, args2 );
00043     l->addWidget( tmw );
00044 }

akonadi/kcm

Skip menu "akonadi/kcm"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal