/***************************************************************************
- * Copyright (C) 2005-2012 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 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 QTUI_H
QtUi();
~QtUi();
- MessageModel *createMessageModel(QObject *parent);
- AbstractMessageProcessor *createMessageProcessor(QObject *parent);
+ MessageModel *createMessageModel(QObject *parent) override;
+ AbstractMessageProcessor *createMessageProcessor(QObject *parent) override;
inline static QtUi *instance();
inline static QtUiStyle *style();
static const QList<AbstractNotificationBackend::Notification> &activeNotifications();
public slots:
- virtual void init();
+ void init() override;
uint invokeNotification(BufferId bufId, AbstractNotificationBackend::NotificationType type, const QString &sender, const QString &text);
void closeNotification(uint notificationId);
void closeNotifications(BufferId bufferId = BufferId());
protected slots:
- void connectedToCore();
- void disconnectedFromCore();
+ void connectedToCore() override;
+ void disconnectedFromCore() override;
void notificationActivated(uint notificationId);
void bufferMarkedAsRead(BufferId);
protected:
- virtual void minimizeRestore(bool show);
- virtual bool isHidingMainWidgetAllowed() const;
+ void minimizeRestore(bool show) override;
+ bool isHidingMainWidgetAllowed() const override;
private slots:
void useSystemTrayChanged(const QVariant &);