X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtui.h;h=46f21c1764f8d8213be14784fb8f691995ee3009;hb=019a59ffca44ddc32fc6b16fd6cdcc8f3e1c93c6;hp=19abd6f10b2b991381ceaa9de436f6f0e9cc9315;hpb=85cc2479ab9bd85b33f4d8494b1eeeb46a6a1049;p=quassel.git diff --git a/src/qtui/qtui.h b/src/qtui/qtui.h index 19abd6f1..46f21c17 100644 --- a/src/qtui/qtui.h +++ b/src/qtui/qtui.h @@ -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 * @@ -25,6 +25,8 @@ #include "quasselui.h" class MainWin; +class MessageModel; +class QtUiMessageProcessor; //! This class encapsulates Quassel's Qt-based GUI. /** This is basically a wrapper around MainWin, which is necessary because we cannot derive MainWin @@ -36,11 +38,15 @@ class QtUi : public AbstractUi { public: QtUi(); ~QtUi(); - void init(); - AbstractUiMsg *layoutMsg(const Message &); + //void init(); + MessageModel *createMessageModel(QObject *parent); + AbstractMessageProcessor *createMessageProcessor(QObject *parent); static QtUiStyle *style(); + public slots: + void init(); + protected slots: void connectedToCore(); void disconnectedFromCore();