X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.h;h=2bd122126729539c89271896545908aeee8f78ec;hp=26102fd256e66cd9ba2837c0acebef761104953a;hb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;hpb=efee441a243efb88929e1e275d71ee27991bf074 diff --git a/src/uisupport/bufferview.h b/src/uisupport/bufferview.h index 26102fd2..2bd12212 100644 --- a/src/uisupport/bufferview.h +++ b/src/uisupport/bufferview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -75,7 +75,6 @@ signals: void removeBufferPermanently(const QModelIndex &); protected: - virtual void keyPressEvent(QKeyEvent *); virtual void dropEvent(QDropEvent *event); virtual void rowsInserted(const QModelIndex &parent, int start, int end); virtual void wheelEvent(QWheelEvent *); @@ -169,6 +168,7 @@ public : inline BufferView *bufferView() const { return qobject_cast(widget()); } inline bool isActive() const { return _active; } void setWidget(QWidget *newWidget); + void setLocked(bool locked); QWidget *widget() const { return _childWidget; } void activateFilter();