aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber
diff options
context:
space:
mode:
authorGergely Risko <gergely+context@risko.hu>2009-09-25 11:22:17 +0300
committerGergely Risko <gergely+context@risko.hu>2009-09-25 11:22:17 +0300
commit6bf120149e24ba13f6944c4c99c4bb5f373bd671 (patch)
tree35b89e2ba5cc547809e8d7dd585e70ee533f5cfe /libcontextsubscriber
parentbca95cd537d65d8a3c2ef0d7e4209a4815a81deb (diff)
Fix Qt's signal duplication waring.
Diffstat (limited to 'libcontextsubscriber')
-rw-r--r--libcontextsubscriber/doc/doxy.cfg2
-rw-r--r--libcontextsubscriber/src/contextkitplugin.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libcontextsubscriber/doc/doxy.cfg b/libcontextsubscriber/doc/doxy.cfg
index 0a5b9772..5318846e 100644
--- a/libcontextsubscriber/doc/doxy.cfg
+++ b/libcontextsubscriber/doc/doxy.cfg
@@ -110,7 +110,7 @@ ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
-PREDEFINED =
+PREDEFINED = DOXYGEN_ONLY
EXPAND_ONLY_PREDEF = YES
#---------------------------------------------------------------------------
diff --git a/libcontextsubscriber/src/contextkitplugin.h b/libcontextsubscriber/src/contextkitplugin.h
index 586db237..75715383 100644
--- a/libcontextsubscriber/src/contextkitplugin.h
+++ b/libcontextsubscriber/src/contextkitplugin.h
@@ -49,11 +49,13 @@ public:
void unsubscribe(QSet<QString> keys);
signals:
+#ifdef DOXYGEN_ONLY
void ready(); ///< Emitted when the GetSubscriber call returns successfully.
void failed(QString error); ///< Emitted when the GetSubscriber call fails or provider not on D-Bus at all.
void subscribeFinished(QString key); ///< Emitted when Subscribe call succeeds on D-Bus.
void subscribeFailed(QString failedKey, QString error); ///< Emitted when Subscribe call fails on D-Bus.
void valueChanged(QString key, QVariant value); ///< Emitted when ValueChanged signal comes on D-Bus
+#endif
private slots:
void onDBusValuesChanged(QMap<QString, QVariant> values);