X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoresession.h;h=99cd5932ab972cd0c9e04d537f5195961867e3c6;hb=HEAD;hp=cfa04e3f6e5bd9a23190b09e786a53c44baeee21;hpb=8f92b3f08df9f4eb8fd243ccec6aa9d4b563ec23;p=quassel.git diff --git a/src/core/coresession.h b/src/core/coresession.h index cfa04e3f..fb103f79 100644 --- a/src/core/coresession.h +++ b/src/core/coresession.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -21,6 +21,7 @@ #pragma once #include +#include #include #include @@ -58,8 +59,6 @@ class SignalProxy; struct NetworkInfo; -class QScriptEngine; - class CoreSession : public QObject { Q_OBJECT @@ -67,7 +66,7 @@ class CoreSession : public QObject public: CoreSession(UserId, bool restoreState, bool strictIdentEnabled, QObject* parent = nullptr); - QList buffers() const; + std::vector buffers() const; inline UserId user() const { return _user; } CoreNetwork* network(NetworkId) const; CoreIdentity* identity(IdentityId) const; @@ -173,8 +172,6 @@ signals: void displayMsg(Message message); void displayStatusMsg(QString, QString); - void scriptResult(QString result); - //! Identity has been created. /** This signal is propagated to the clients to tell them that the given identity has been created. * \param identity The new identity. @@ -206,8 +203,6 @@ private slots: void destroyNetwork(NetworkId); - void scriptRequest(QString script); - void clientsConnected(); void clientsDisconnected(); @@ -221,7 +216,6 @@ private: void processMessages(); void loadSettings(); - void initScriptEngine(); /// Hook for converting events to the old displayMsg() handlers Q_INVOKABLE void processMessageEvent(MessageEvent* event); @@ -253,8 +247,6 @@ private: CtcpParser* _ctcpParser; IrcParser* _ircParser; - QScriptEngine* scriptEngine; - /** * This method obtains the prefixes of the message's sender within a channel, by looking up their channelmodes, and * processing them to prefixes based on the network's settings.