From 4b53eea047641cb77c542e4ce3292f2dcdd39522 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 21 Aug 2014 11:20:58 +0200 Subject: move documentation mainpage to doc/index.doc --- doc/doxyfilter.cpp | 2 +- doc/index.doc | 41 +++++++++++++++++++++++++++++++++++++++++ src/client/QXmppClient.cpp | 41 ----------------------------------------- 3 files changed, 42 insertions(+), 42 deletions(-) create mode 100644 doc/index.doc diff --git a/doc/doxyfilter.cpp b/doc/doxyfilter.cpp index d935050b..854f2332 100644 --- a/doc/doxyfilter.cpp +++ b/doc/doxyfilter.cpp @@ -75,7 +75,7 @@ int main(int argc, char *argv[]) setField(code, "HIDE_UNDOC_CLASSES", "YES"); setField(code, "GENERATE_LATEX", "NO"); setField(code, "HTML_TIMESTAMP", "NO"); - setField(code, "INPUT", "../src"); + setField(code, "INPUT", "index.doc ../src"); setField(code, "INPUT_FILTER", QString::fromLocal8Bit(argv[0])); setField(code, "PROJECT_NAME", "QXmpp"); setField(code, "PROJECT_NUMBER", QString("Version: %1.%2.%3").arg( diff --git a/doc/index.doc b/doc/index.doc new file mode 100644 index 00000000..19941e6c --- /dev/null +++ b/doc/index.doc @@ -0,0 +1,41 @@ +/*! + \mainpage + + QXmpp is a cross-platform C++ XMPP client library based on the Qt + framework. It tries to use Qt's programming conventions in order to ease + the learning curve for new programmers. + + QXmpp based clients are built using QXmppClient instances which handle the + establishment of the XMPP connection and provide a number of high-level + "managers" to perform specific tasks. You can write your own managers to + extend QXmpp by subclassing QXmppClientExtension. + + Main Class: + - QXmppClient + + Managers to perform specific tasks: + - QXmppRosterManager + - QXmppVCardManager + - QXmppTransferManager + - QXmppMucManager + - QXmppCallManager + - QXmppArchiveManager + - QXmppVersionManager + - QXmppDiscoveryManager + - QXmppEntityTimeManager + + XMPP stanzas: If you are interested in a more low-level API, you can refer to these + classes. + - QXmppIq + - QXmppMessage + - QXmppPresence + +

+ Project Details: + + Project Page: https://github.com/qxmpp-project/qxmpp/ +
+ Report Issues: https://github.com/qxmpp-project/qxmpp/issues/ +
+ New Releases: https://github.com/qxmpp-project/qxmpp/downloads/ +*/ diff --git a/src/client/QXmppClient.cpp b/src/client/QXmppClient.cpp index daf298be..9b5d50fe 100644 --- a/src/client/QXmppClient.cpp +++ b/src/client/QXmppClient.cpp @@ -94,47 +94,6 @@ int QXmppClientPrivate::getNextReconnectTime() const return 60 * 1000; } -/// \mainpage -/// -/// QXmpp is a cross-platform C++ XMPP client library based on the Qt -/// framework. It tries to use Qt's programming conventions in order to ease -/// the learning curve for new programmers. -/// -/// QXmpp based clients are built using QXmppClient instances which handle the -/// establishment of the XMPP connection and provide a number of high-level -/// "managers" to perform specific tasks. You can write your own managers to -/// extend QXmpp by subclassing QXmppClientExtension. -/// -/// Main Class: -/// - QXmppClient -/// -/// Managers to perform specific tasks: -/// - QXmppRosterManager -/// - QXmppVCardManager -/// - QXmppTransferManager -/// - QXmppMucManager -/// - QXmppCallManager -/// - QXmppArchiveManager -/// - QXmppVersionManager -/// - QXmppDiscoveryManager -/// - QXmppEntityTimeManager -/// -/// XMPP stanzas: If you are interested in a more low-level API, you can refer to these -/// classes. -/// - QXmppIq -/// - QXmppMessage -/// - QXmppPresence -/// -///

-/// Project Details: -/// -/// Project Page: https://github.com/qxmpp-project/qxmpp/ -///
-/// Report Issues: https://github.com/qxmpp-project/qxmpp/issues/ -///
-/// New Releases: https://github.com/qxmpp-project/qxmpp/downloads/ -/// - /// Creates a QXmppClient object. /// \param parent is passed to the QObject's constructor. /// The default value is 0. -- cgit v1.2.3