common: Make the Quassel class a proper singleton, clean up
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 21 Mar 2018 00:41:28 +0000 (01:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 26 Mar 2018 23:04:43 +0000 (01:04 +0200)
commitb5dfd31e3d1ad7ca4bfe8262b62be259f6dc786a
tree48e19c988f91197cd423e84d6059767e9b45187f
parent6fdf05d0d6b411370f3a7cd5f8ee8cb6ea6ff324
common: Make the Quassel class a proper singleton, clean up

No longer have the various application classes inherit from the
Quassel class, which is a precondition for making the latter a
QObject down the line. Enable application-specific config reload
and quit behaviors by providing the means to register handler
functions, replacing the previous inheritance-based mechanism.

Make the Quassel class a proper singleton, remove inline functions
and modernize the code.
src/common/main.cpp
src/common/quassel.cpp
src/common/quassel.h
src/core/coreapplication.cpp
src/core/coreapplication.h
src/qtui/monoapplication.cpp
src/qtui/monoapplication.h
src/qtui/qtuiapplication.cpp
src/qtui/qtuiapplication.h