1 /***************************************************************************
2 vnchostprefs.h - vnc host preferences
4 begin : Fri May 09 22:32 CET 2003
5 copyright : (C) 2003 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 ***************************************************************************/
21 #include "hostpreferences.h"
23 class VncHostPref
: public HostPref
{
25 friend class HostPreferences
;
32 virtual void setDefaults();
34 virtual void remove();
37 static const QString VncType
;
39 VncHostPref(KSharedConfigPtr conf
, const QString
&host
=QString(),
40 const QString
&type
=QString());
41 virtual ~VncHostPref();
43 virtual QString
prefDescription() const;
44 void setQuality(int q
);
46 void setAskOnConnect(bool ask
);
47 bool askOnConnect() const;
48 void setUseKWallet(bool);
49 bool useKWallet() const;