X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fmainwidget.h;h=aad4b3851496fc61b5d2430552adb321bec35136;hp=6e0691d4f5e9bfe75203092ac81fbd9c8831170b;hb=52cba0963e0714f4d58296a20d02164b57f9f4ba;hpb=4e9a619ab2a22ce3c933fbb36122632debfd415a diff --git a/src/qtopia/mainwidget.h b/src/qtopia/mainwidget.h index 6e0691d4..aad4b385 100644 --- a/src/qtopia/mainwidget.h +++ b/src/qtopia/mainwidget.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 * @@ -24,6 +24,7 @@ #include "ui_mainwidget.h" class Buffer; +class ChatWidget; class MainWidget : public QWidget { Q_OBJECT @@ -33,11 +34,17 @@ class MainWidget : public QWidget { ~MainWidget(); public slots: + void setTopic(QString topic); void setBuffer(Buffer *); + private slots: + void enterPressed(); + private: Ui::MainWidget ui; + QHash chatWidgets; + Buffer *currentBuffer; };