/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#ifndef _NICKLISTWIDGET_H_
-#define _NICKLISTWIDGET_H_
+#ifndef NICKLISTWIDGET_H_
+#define NICKLISTWIDGET_H_
#include "ui_nicklistwidget.h"
#include "abstractitemview.h"
public slots:
void showWidget(bool visible);
+signals:
+ void nickSelectionChanged(const QModelIndexList &);
+
protected:
virtual QSize sizeHint() const;
+ virtual void hideEvent(QHideEvent *);
+ virtual void showEvent(QShowEvent *);
protected slots:
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
private slots:
void removeBuffer(BufferId bufferId);
-
+ void nickSelectionChanged();
+
private:
Ui::NickListWidget ui;
QHash<BufferId, NickView *> nickViews;
public:
NickListDock(const QString &title, QWidget *parent = 0);
- ~NickListDock();
+ // ~NickListDock();
- virtual bool event(QEvent *event);
+ // virtual bool event(QEvent *event);
};
#endif