summaryrefslogtreecommitdiffabout
path: root/kaddressbook/extensionwidget.h
Unidiff
Diffstat (limited to 'kaddressbook/extensionwidget.h') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/extensionwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/extensionwidget.h b/kaddressbook/extensionwidget.h
index fc91f21..9fcfba9 100644
--- a/kaddressbook/extensionwidget.h
+++ b/kaddressbook/extensionwidget.h
@@ -65,51 +65,51 @@ class ExtensionWidget : public QWidget
65 virtual void contactsSelectionChanged(); 65 virtual void contactsSelectionChanged();
66 66
67 /** 67 /**
68 This method should be reimplemented and return the i18ned title of this 68 This method should be reimplemented and return the i18ned title of this
69 widget. 69 widget.
70 */ 70 */
71 virtual QString title() const; 71 virtual QString title() const;
72 72
73 /** 73 /**
74 This method should be reimplemented and return a unique identifier. 74 This method should be reimplemented and return a unique identifier.
75 */ 75 */
76 virtual QString identifier() const; 76 virtual QString identifier() const;
77 77
78 signals: 78 signals:
79 void modified( const KABC::Addressee::List &list ); 79 void modified( const KABC::Addressee::List &list );
80 80
81 private: 81 private:
82 KABCore *mCore; 82 KABCore *mCore;
83 83
84 class ExtensionWidgetPrivate; 84 class ExtensionWidgetPrivate;
85 ExtensionWidgetPrivate *d; 85 ExtensionWidgetPrivate *d;
86}; 86};
87 87
88#ifndef KAB_EMBEDDED 88#ifndef KAB_EMBEDDED
89//MOC_SKIP_BEGIN 89#ifndef Q_MOC_RUN
90class ExtensionFactory : public KLibFactory 90class ExtensionFactory : public KLibFactory
91//MOC_SKIP_END 91#endif
92#else //KAB_EMBEDDED 92#else //KAB_EMBEDDED
93class ExtensionFactory 93class ExtensionFactory
94#endif //KAB_EMBEDDED 94#endif //KAB_EMBEDDED
95{ 95{
96 public: 96 public:
97 virtual ExtensionWidget *extension( KABCore *core, QWidget *parent, 97 virtual ExtensionWidget *extension( KABCore *core, QWidget *parent,
98 const char *name = 0 ) = 0; 98 const char *name = 0 ) = 0;
99 99
100 virtual ConfigureWidget *configureWidget( QWidget *parent, 100 virtual ConfigureWidget *configureWidget( QWidget *parent,
101 const char *name = 0 ); 101 const char *name = 0 );
102 102
103 virtual bool configureWidgetAvailable() { return false; } 103 virtual bool configureWidgetAvailable() { return false; }
104 104
105 /** 105 /**
106 This method should return the same identifier like the config 106 This method should return the same identifier like the config
107 widget. 107 widget.
108 */ 108 */
109 virtual QString identifier() const = 0; 109 virtual QString identifier() const = 0;
110 110
111 protected: 111 protected:
112 virtual QObject* createObject( QObject*, const char*, const char*, 112 virtual QObject* createObject( QObject*, const char*, const char*,
113 const QStringList & ) 113 const QStringList & )
114 { 114 {
115 return 0; 115 return 0;