X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtopia%2Fqtopiaui.h;fp=src%2Fqtopia%2Fqtopiaui.h;h=66ee17f9f5984d25a8452e4ddfc5c986ea9e951e;hp=0000000000000000000000000000000000000000;hb=48979ba2c343ab50ae93a8bb1c355ce79115bd4f;hpb=068a9f975337b4d0b08a438a2abd10ddf94e259d diff --git a/src/qtopia/qtopiaui.h b/src/qtopia/qtopiaui.h new file mode 100644 index 00000000..66ee17f9 --- /dev/null +++ b/src/qtopia/qtopiaui.h @@ -0,0 +1,51 @@ +/*************************************************************************** + * Copyright (C) 2005-07 by The Quassel IRC Development Team * + * 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. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef _QTOPIAGUI_H_ +#define _QTOPIAGUI_H_ + +#include "quasselui.h" + +class QtopiaMainWin; +class QtopiaUiStyle; + +//! This class encapsulates Quassel's GUI for Qtopia. +class QtopiaUi : public AbstractUi { + Q_OBJECT + + public: + QtopiaUi(QtopiaMainWin *mainWin); + ~QtopiaUi(); + void init(); + AbstractUiMsg *layoutMsg(const Message &); + + QtopiaUiStyle *style() const; + + protected slots: + void connectedToCore(); + void disconnectedFromCore(); + + private: + QtopiaMainWin *mainWin; + QtopiaUiStyle *_style; +}; + + +#endif