Akonadi
controlgui.cpp
59 Q_GLOBAL_STATIC(Internal::StaticControlGui, s_instance) // NOLINT(readability-redundant-member-init)
153 if ((mStarting && (state == ServerManager::Starting || state == ServerManager::Upgrading)) || (mStopping && state == ServerManager::Stopping)) {
157 mSuccess = (mStarting && state == ServerManager::Running) || (mStopping && state == ServerManager::NotRunning);
164 connect(ServerManager::self(), &ServerManager::stateChanged, this, [this](Akonadi::ServerManager::State state) {
static void widgetNeedsAkonadi(QWidget *widget)
Disable the given widget when Akonadi is not operational and show an error overlay (given enough spac...
Definition: controlgui.cpp:243
void aboutToQuit()
@ Upgrading
Server is performing a database upgrade as part of a new startup.
Definition: servermanager.h:42
Plain
singleShot
ApplicationModal
static ServerManager * self()
Returns the singleton instance of this class, for connecting to its signals.
Definition: servermanager.cpp:178
void stateChanged(Akonadi::ServerManager::State state)
Emitted whenever the server state changes.
A dialog that checks the current status of the Akonadi system.
Definition: selftestdialog.h:27
static bool stop()
Stops the Akonadi server synchronously if it is currently running.
Definition: controlgui.cpp:196
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Q_GLOBAL_STATIC(Internal::StaticControl, s_instance) class ControlPrivate
Definition: control.cpp:28
FramelessWindowHint
@ NotRunning
Server is not running, could be no one started it yet or it failed to start.
Definition: servermanager.h:37
static bool start()
Starts the Akonadi server synchronously if it is not already running.
Definition: controlgui.cpp:178
QString i18n(const char *text, const TYPE &arg...)
static bool isRunning()
Checks if the server is available currently.
Definition: servermanager.cpp:238
Provides methods to ControlGui the Akonadi server process.
Definition: controlgui.h:53
QCoreApplication * instance()
Box
QObject * parent() const const
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 29 2023 03:51:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 29 2023 03:51:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.