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

kmobiletools

engineslist.h

Go to the documentation of this file.
00001 /***************************************************************************
00002    Copyright (C) 2007
00003    by Marco Gulino <marco@kmobiletools.org>
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2 of the License, or
00008    (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the
00017    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019  ***************************************************************************/
00020 #ifndef ENGINESLIST_H
00021 #define ENGINESLIST_H
00022 
00023 #include <libkmobiletools/kmobiletools_export.h>
00024 
00025 #include <qstringlist.h>
00026 #include <qobject.h>
00027 #include <kplugininfo.h>
00029 
00033 class KPluginInfo;
00034 class EnginesListPrivate;
00035 class KConfigSkeleton;
00036 namespace KMobileTools {
00037 class Engine;
00041 class KMOBILETOOLS_EXPORT EnginesList : public QObject, public QList<KMobileTools::Engine*>
00042 {
00043     Q_OBJECT
00044 public:
00045     EnginesList();
00046     ~EnginesList();
00047 
00048     static EnginesList *instance();
00049     const QStringList namesList(bool friendlyNames=false);
00050     KMobileTools::Engine *find( const QString &name, bool friendlyName=false);
00051     void queryClose();
00052     void append ( KMobileTools::Engine* item );
00053     void remove ( KMobileTools::Engine* item );
00054     bool closing() const;
00055     bool locked(const QString &device) const;
00056     const QStringList locklist();
00057     bool lock(const QString &device);
00058     void unlock(const QString &device);
00059     KPluginInfo::List availEngines();
00060     KPluginInfo engineInfo(const QString &s, bool searchByLibrary=true);
00061 
00066     Engine *wizardEngine();
00071     KConfigSkeleton *wizardConfig();
00076     void setWizardConfig(KConfigSkeleton *wizardcfg);
00077 
00083     void setWizardEngine(KMobileTools::Engine* newEngine=NULL);
00084 
00085     private:
00086         EnginesListPrivate *d;
00087 
00088     signals:
00089         void engineAdded(const KMobileTools::Engine *);
00090         void engineRemoved(const KMobileTools::Engine *);
00091 
00092 };
00093 }
00094 
00095 #endif

kmobiletools

Skip menu "kmobiletools"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

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