OK, disabled warnings for the moment :)
[quassel.git] / src / qtui / qtui.h
index dca9658..f6f1db5 100644 (file)
@@ -1,11 +1,11 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by The Quassel IRC Development Team             *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -21,7 +21,9 @@
 #ifndef _QTUI_H_
 #define _QTUI_H_
 
+#include "qtuistyle.h"
 #include "quasselui.h"
+
 class MainWin;
 
 //! This class encapsulates Quassel's Qt-based GUI.
@@ -34,15 +36,21 @@ class QtUi : public AbstractUi {
   public:
     QtUi();
     ~QtUi();
-    void init();
+    //void init();
     AbstractUiMsg *layoutMsg(const Message &);
 
+    static QtUiStyle *style();
+
+  public slots:
+    void init();
+
   protected slots:
     void connectedToCore();
     void disconnectedFromCore();
 
   private:
     MainWin *mainWin;
+    static QtUiStyle *_style;
 };
 
 #endif