phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
--- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.h	Tue Jun 15 14:14:38 2010 +0100
+++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.h	Thu Jul 22 16:33:21 2010 +0100
@@ -21,6 +21,7 @@
 #include <QObject>
 #include <QList>
 #include <cpplugininterface.h>
+#include <cplauncherinterface.h>
 #include "cpphonelocalisation.h"
 
 /*!
@@ -29,13 +30,14 @@
  */
 class CpTelephonyPlugin
         : public QObject,
-          public CpPluginInterface
+          public CpPluginInterface,
+          public CpLauncherInterface
 {
     Q_OBJECT
     Q_INTERFACES(CpPluginInterface)
+    Q_INTERFACES(CpLauncherInterface)
     
 public:
- 
     CpTelephonyPlugin();
     ~CpTelephonyPlugin();
     
@@ -46,6 +48,12 @@
     QList<CpSettingFormItemData*> createSettingFormItemData(
             CpItemDataHelper &itemDataHelper) const;
     
+    /*!
+     From CpLauncherInterface.
+     @see CpLauncherInterface.
+     */
+    virtual CpBaseSettingView *createSettingView(const QVariant &hint) const;
+    
 private: 
     
     QScopedPointer<CpPhoneLocalisation> m_localisation;