X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmonoapplication.h;fp=src%2Fqtui%2Fmonoapplication.h;h=0000000000000000000000000000000000000000;hp=a63dfe07f0f86eba6684823224005029f4ce3fe0;hb=4ce53949ab7d52a49ae79b8817bd3aa50fada0d1;hpb=48d41896ba35eafc64b4cb00e446d6123b3502cb diff --git a/src/qtui/monoapplication.h b/src/qtui/monoapplication.h deleted file mode 100644 index a63dfe07..00000000 --- a/src/qtui/monoapplication.h +++ /dev/null @@ -1,57 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * - * 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) version 3. * - * * - * 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., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - -#pragma once - -#include -#include - -#include "qtuiapplication.h" - -class Core; -class InternalPeer; - -class MonolithicApplication : public QtUiApplication -{ - Q_OBJECT - -public: - MonolithicApplication(int &, char **); - - void init() override; - -protected: - Quassel::QuitHandler quitHandler() override; - -signals: - void connectInternalPeer(QPointer peer); - -private slots: - void onConnectionRequest(QPointer peer); - void onClientDestroyed(); - void onCoreShutdown(); - -private: - void startInternalCore(); - -private: - QPointer _core; - QThread _coreThread; -};