beautyfied the code in userinputhandler::handlectcp
[quassel.git] / src / core / coresettings.cpp
index 3c38b23..28fb7d5 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -22,7 +22,7 @@
 
 #include <QStringList>
 
-CoreSettings::CoreSettings() : Settings("Core") {
+CoreSettings::CoreSettings(const QString group) : Settings(group, Global::coreApplicationName) {
 }
 
 CoreSettings::~CoreSettings() {
@@ -51,17 +51,3 @@ void CoreSettings::setCoreState(const QVariant &data) {
 QVariant CoreSettings::coreState(const QVariant &def) {
   return localValue("CoreState", def);
 }
-
-QStringList CoreSettings::sessionKeys() {
-  Q_ASSERT(false);
-  return QStringList();
-}
-
-void CoreSettings::setSessionValue(const QString &key, const QVariant &data) {
-  Q_ASSERT(false);
-}
-
-QVariant CoreSettings::sessionValue(const QString &key, const QVariant &def) {
-  Q_ASSERT(false);
-  return QVariant();
-}