Reformat ALL the source!
[quassel.git] / src / qtui / titlesetter.h
index 7729ba5..e595d07 100644 (file)
@@ -18,7 +18,6 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
-
 #ifndef TITLESETTER_H
 #define TITLESETTER_H
 
 
 class MainWin;
 
-class TitleSetter : public AbstractItemView {
-  Q_OBJECT
+class TitleSetter : public AbstractItemView
+{
+    Q_OBJECT
 
-  public:
+public:
     TitleSetter(MainWin *parent);
 
-  protected slots:
+protected slots:
     virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
     virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
 
-  private:
+private:
     MainWin *_mainWin;
-    void changeWindowTitle(QString title);
+    void changeWindowTitle(const QModelIndex &index);
 };