1 /***************************************************************************
2 main.h - controller object
4 begin : Sat Jun 15 02:12:00 CET 2002
5 copyright : (C) 2002 by Tim Jansen
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
23 #include "kremoteview.h"
28 class MainController
: public QObject
{
31 SmartPtr
<KRDC
> m_krdc
;
32 WindowMode m_windowMode
;
33 QString m_host
, m_encodings
, m_password
, m_resolution
;
36 QSize m_initialWindowSize
;
38 KRemoteView::Quality m_quality
;
44 MainController(KApplication
*app
, WindowMode wm
,
46 KRemoteView::Quality quality
,
47 const QString
&encodings
,
48 const QString
&password
,
51 QSize initialWindowSize
,
58 void errorRestartRequested();