summaryrefslogtreecommitdiffabout
path: root/kaddressbook/extensionwidget.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kaddressbook/extensionwidget.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz
kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'kaddressbook/extensionwidget.h') (more/less context) (ignore 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
@@ -57,63 +57,63 @@ class ExtensionWidget : public QWidget
Use @ref addresseesSelected() to test if there exists selected
contacts.
*/
KABC::Addressee::List selectedContacts();
/**
This method is called whenever the selection in the view changed.
*/
virtual void contactsSelectionChanged();
/**
This method should be reimplemented and return the i18ned title of this
widget.
*/
virtual QString title() const;
/**
This method should be reimplemented and return a unique identifier.
*/
virtual QString identifier() const;
signals:
void modified( const KABC::Addressee::List &list );
private:
KABCore *mCore;
class ExtensionWidgetPrivate;
ExtensionWidgetPrivate *d;
};
#ifndef KAB_EMBEDDED
-//MOC_SKIP_BEGIN
+#ifndef Q_MOC_RUN
class ExtensionFactory : public KLibFactory
-//MOC_SKIP_END
+#endif
#else //KAB_EMBEDDED
class ExtensionFactory
#endif //KAB_EMBEDDED
{
public:
virtual ExtensionWidget *extension( KABCore *core, QWidget *parent,
const char *name = 0 ) = 0;
virtual ConfigureWidget *configureWidget( QWidget *parent,
const char *name = 0 );
virtual bool configureWidgetAvailable() { return false; }
/**
This method should return the same identifier like the config
widget.
*/
virtual QString identifier() const = 0;
protected:
virtual QObject* createObject( QObject*, const char*, const char*,
const QStringList & )
{
return 0;
}
};
#endif