X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fnicklistwidget.h;h=f6ed3dc7c8e191f7f6f15612b17ef869cf0fa5cd;hp=f28ced67c34abdf307170ae2bf26919a81a34182;hb=c013d415d0e6e85cbb8c0adba9ded53bbcf4f36c;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/qtui/nicklistwidget.h b/src/qtui/nicklistwidget.h index f28ced67..f6ed3dc7 100644 --- a/src/qtui/nicklistwidget.h +++ b/src/qtui/nicklistwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -15,7 +15,7 @@ * 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 NICKLISTWIDGET_H_ @@ -43,18 +43,19 @@ public: public slots: void showWidget(bool visible); + void setVisible(bool visible) override; signals: void nickSelectionChanged(const QModelIndexList &); protected: - virtual QSize sizeHint() const; - virtual void hideEvent(QHideEvent *); - virtual void showEvent(QShowEvent *); + QSize sizeHint() const override; + void hideEvent(QHideEvent *) override; + void showEvent(QShowEvent *) override; protected slots: - virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); - virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override; + void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override; private slots: void removeBuffer(BufferId bufferId); @@ -79,6 +80,8 @@ public: NickListDock(const QString &title, QWidget *parent = 0); // ~NickListDock(); + void setLocked(bool locked); + // virtual bool event(QEvent *event); };