aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2014-08-21 11:20:58 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2014-08-21 11:20:58 +0200
commit4b53eea047641cb77c542e4ce3292f2dcdd39522 (patch)
tree7fb435a35db7982fc54a423ff1bd9f5866d05b56
parentab4b582dfcdb265a5c904ca5473dfbf5678cf973 (diff)
downloadqxmpp-4b53eea047641cb77c542e4ce3292f2dcdd39522.tar.gz
move documentation mainpage to doc/index.doc
-rw-r--r--doc/doxyfilter.cpp2
-rw-r--r--doc/index.doc41
-rw-r--r--src/client/QXmppClient.cpp41
3 files changed, 42 insertions, 42 deletions
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.
+
+ <B>Main Class:</B>
+ - QXmppClient
+
+ <B>Managers to perform specific tasks:</B>
+ - QXmppRosterManager
+ - QXmppVCardManager
+ - QXmppTransferManager
+ - QXmppMucManager
+ - QXmppCallManager
+ - QXmppArchiveManager
+ - QXmppVersionManager
+ - QXmppDiscoveryManager
+ - QXmppEntityTimeManager
+
+ <B>XMPP stanzas:</B> If you are interested in a more low-level API, you can refer to these
+ classes.
+ - QXmppIq
+ - QXmppMessage
+ - QXmppPresence
+
+ <BR><BR>
+ <B>Project Details:</B>
+
+ Project Page: https://github.com/qxmpp-project/qxmpp/
+ <BR>
+ Report Issues: https://github.com/qxmpp-project/qxmpp/issues/
+ <BR>
+ 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.
-///
-/// <B>Main Class:</B>
-/// - QXmppClient
-///
-/// <B>Managers to perform specific tasks:</B>
-/// - QXmppRosterManager
-/// - QXmppVCardManager
-/// - QXmppTransferManager
-/// - QXmppMucManager
-/// - QXmppCallManager
-/// - QXmppArchiveManager
-/// - QXmppVersionManager
-/// - QXmppDiscoveryManager
-/// - QXmppEntityTimeManager
-///
-/// <B>XMPP stanzas:</B> If you are interested in a more low-level API, you can refer to these
-/// classes.
-/// - QXmppIq
-/// - QXmppMessage
-/// - QXmppPresence
-///
-/// <BR><BR>
-/// <B>Project Details:</B>
-///
-/// Project Page: https://github.com/qxmpp-project/qxmpp/
-/// <BR>
-/// Report Issues: https://github.com/qxmpp-project/qxmpp/issues/
-/// <BR>
-/// 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.