X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmonoapplication.h;h=6e7b90220903dfea873ae6b9df1d336763d5140f;hp=59d3747d892bf05e463adf5038c06d843cd628cf;hb=f9116672c22abbb19817eb2ff7d93272927515f7;hpb=5c6804f291a63f978e328aeddcc8448e3443b45e diff --git a/src/qtui/monoapplication.h b/src/qtui/monoapplication.h index 59d3747d..6e7b9022 100644 --- a/src/qtui/monoapplication.h +++ b/src/qtui/monoapplication.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2016 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * 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. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef MONOAPPLICATION_H_ @@ -25,16 +25,31 @@ class CoreApplicationInternal; -class MonolithicApplication : public QtUiApplication { - - public: +class MonolithicApplication : public QtUiApplication +{ + Q_OBJECT +public: MonolithicApplication(int &, char **); ~MonolithicApplication(); bool init(); - private: + /** + * Requests a reload of relevant runtime configuration. + * + * @see Quassel::reloadConfig() + * + * @return True if configuration reload successful, otherwise false + */ + bool reloadConfig(); + +private slots: + void startInternalCore(); + +private: CoreApplicationInternal *_internal; + bool _internalInitDone; }; + #endif