X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=main%2Fquassel.cpp;fp=main%2Fquassel.cpp;h=0000000000000000000000000000000000000000;hb=ba8f57d654b07d77cc91a2b901ad3b664a31ffcf;hp=cb35cc210adc59504b4fd78c33d2fc611ac65905;hpb=04e21ce26ebabdde9586ca9d2a3168431e448df5;p=quassel.git diff --git a/main/quassel.cpp b/main/quassel.cpp deleted file mode 100644 index cb35cc21..00000000 --- a/main/quassel.cpp +++ /dev/null @@ -1,110 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005 by The Quassel Team * - * devel@quassel-irc.org * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -#include "quassel.h" -#include "logger.h" -#include "core.h" - -#include -#include -#include - -extern void messageHandler(QtMsgType type, const char *msg); - -Global::Global() { - if(global) qFatal("Trying to instantiate more than one Global object!"); - qInstallMsgHandler(messageHandler); - //initIconMap(); -} - -/* -void Global::setLogger(Logger *) { - - -}; -*/ - -QVariant Global::getData(QString key, QVariant defval) { - QVariant d; - mutex.lock(); - if(data.contains(key)) d = data[key]; - else d = defval; - mutex.unlock(); - //qDebug() << "getData("<