correct tab order for the settingspages
[quassel.git] / src / qtui / nicklistwidget.h
index c5e9b8e..18f966a 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   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  *
@@ -18,8 +18,8 @@
  *   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"
@@ -43,8 +43,13 @@ public:
 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 &current, const QModelIndex &previous);
@@ -52,7 +57,8 @@ protected slots:
 
 private slots:
   void removeBuffer(BufferId bufferId);
-  
+  void nickSelectionChanged();
+
 private:
   Ui::NickListWidget ui;
   QHash<BufferId, NickView *> nickViews;