X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.h;h=0019a534469f7c92b068ec1fe7975a6ef412d92b;hb=b5e38970ffd55e2dd9f706ce75af9a8d7730b1b8;hp=3c21b797400fb955ef424f95d936684e6c530012;hpb=bd2fb9596ddd44d486a3ff4914bcac045210c498;p=quassel.git diff --git a/src/client/coreconnection.h b/src/client/coreconnection.h index 3c21b797..0019a534 100644 --- a/src/client/coreconnection.h +++ b/src/client/coreconnection.h @@ -18,11 +18,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CORECONNECTION_H_ -#define CORECONNECTION_H_ +#pragma once -#include "QPointer" -#include "QTimer" +#include +#include +#include #ifdef HAVE_SSL # include @@ -30,12 +30,6 @@ # include #endif -#ifdef HAVE_KDE4 -# include -#endif - -#include - #include "coreaccount.h" #include "remotepeer.h" #include "types.h" @@ -150,9 +144,6 @@ private slots: void reconnectIntervalChanged(const QVariant &interval); void reconnectTimeout(); -#ifdef HAVE_KDE4 - void solidNetworkStatusChanged(Solid::Networking::Status status); -#endif void onlineStateChanged(bool isOnline); private: @@ -191,5 +182,3 @@ inline QString CoreConnection::progressText() const { return _progressText; } inline CoreConnection::ConnectionState CoreConnection::state() const { return _state; } inline bool CoreConnection::isConnected() const { return state() >= Connected; } inline CoreAccount CoreConnection::currentAccount() const { return _account; } - -#endif