--- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.h Wed Jun 23 18:12:20 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.h Tue Jul 06 14:15:47 2010 +0300
@@ -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;