Cleanups
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 13 Feb 2012 19:52:25 +0000 (20:52 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 13 Feb 2012 19:52:25 +0000 (20:52 +0100)
src/common/main.cpp
src/core/CMakeLists.txt
src/core/core.h
src/core/corenetwork.h

index d0dde88..24a7158 100644 (file)
@@ -113,7 +113,7 @@ int main(int argc, char **argv) {
   cliParser->addSwitch("add-user", 0, "Starts an interactive session to add a new core user");
   cliParser->addOption("change-userpass <username>", 0, "Starts an interactive session to change the password of the user identified by username");
   cliParser->addSwitch("oidentd", 0, "Enable oidentd integration");
-  cliParser->addOption("oidentd-conffile <file>", 0, "change path to oidentd configuration file");
+  cliParser->addOption("oidentd-conffile <file>", 0, "Set path to oidentd configuration file");
 #endif
 
 #ifdef HAVE_KDE
index a6d3f20..b669424 100644 (file)
@@ -24,7 +24,6 @@ set(SOURCES
     coreircuser.cpp
     corenetwork.cpp
     corenetworkconfig.cpp
-    oidentdconfiggenerator.cpp
     coresession.cpp
     coresessioneventprocessor.cpp
     coresettings.cpp
@@ -34,6 +33,7 @@ set(SOURCES
     eventstringifier.cpp
     ircparser.cpp
     netsplit.cpp
+    oidentdconfiggenerator.cpp
     postgresqlstorage.cpp
     sessionthread.cpp
     sqlitestorage.cpp
@@ -57,7 +57,6 @@ set(MOC_HDRS
     coreircuser.h
     corenetwork.h
     corenetworkconfig.h
-    oidentdconfiggenerator.h
     coresession.h
     coresessioneventprocessor.h
     coreuserinputhandler.h
@@ -65,6 +64,7 @@ set(MOC_HDRS
     eventstringifier.h
     ircparser.h
     netsplit.h
+    oidentdconfiggenerator.h
     postgresqlstorage.h
     sqlitestorage.h
     storage.h
index 8ee1129..6ee511a 100644 (file)
 #  include <QTcpSocket>
 #  include <QTcpServer>
 #endif
-#include "oidentdconfiggenerator.h"
 
-#include "storage.h"
 #include "bufferinfo.h"
 #include "message.h"
+#include "oidentdconfiggenerator.h"
 #include "sessionthread.h"
+#include "storage.h"
 #include "types.h"
 
 class CoreSession;
@@ -405,7 +405,7 @@ public:
 
   static inline QTimer &syncTimer() { return instance()->_storageSyncTimer; }
 
-  inline OidentdConfigGenerator *oidentdConfigGenerator() { return _oidentdConfigGenerator; }
+  inline OidentdConfigGenerator *oidentdConfigGenerator() const { return _oidentdConfigGenerator; }
 
   static const int AddClientEventId;
 
index 8093bb6..7ad13f4 100644 (file)
@@ -33,7 +33,6 @@
 #else
 # include <QTcpSocket>
 #endif
-#include <QAbstractSocket>
 
 #ifdef HAVE_QCA2
 #  include "cipher.h"