krdc
#include <hostpreferences.h>

Public Member Functions | |
~HostPreferences () | |
KConfigGroup | configGroup () |
bool | fullscreenScale () |
bool | grabAllKeys () |
int | height () |
void | setFullscreenScale (bool scale) |
void | setGrabAllKeys (bool grab) |
void | setHeight (int height) |
void | setShowLocalCursor (bool show) |
void | setShownWhileConnected (bool connected) |
void | setViewOnly (bool view) |
void | setWidth (int width) |
void | setWindowedScale (bool scale) |
bool | showDialog (QWidget *parent) |
bool | showDialogIfNeeded (QWidget *parent) |
bool | showLocalCursor () |
bool | viewOnly () |
bool | walletSupport () |
int | width () |
bool | windowedScale () |
Protected Member Functions | |
HostPreferences (KConfigGroup configGroup, QObject *parent) | |
virtual void | acceptConfig () |
virtual QWidget * | createProtocolSpecificConfigPage ()=0 |
bool | hostConfigured () |
bool | showConfigAgain () |
Protected Attributes | |
KConfigGroup | m_configGroup |
Detailed Description
Definition at line 42 of file hostpreferences.h.
Constructor & Destructor Documentation
HostPreferences::~HostPreferences | ( | ) |
Definition at line 47 of file hostpreferences.cpp.
|
protected |
Definition at line 37 of file hostpreferences.cpp.
Member Function Documentation
|
protectedvirtual |
Called when the user validates the config dialog.
Reimplemented in RdpHostPreferences, NxHostPreferences, and VncHostPreferences.
Definition at line 56 of file hostpreferences.cpp.
KConfigGroup HostPreferences::configGroup | ( | ) |
Definition at line 51 of file hostpreferences.cpp.
|
protectedpure virtual |
Implemented in KonsoleHostPreferences, RdpHostPreferences, NxHostPreferences, and VncHostPreferences.
bool HostPreferences::fullscreenScale | ( | ) |
Whether scaling is enabled when session is full screen.
Note: only windowedScale seems to be used.
Definition at line 109 of file hostpreferences.cpp.
bool HostPreferences::grabAllKeys | ( | ) |
Definition at line 129 of file hostpreferences.cpp.
int HostPreferences::height | ( | ) |
|
protected |
Definition at line 62 of file hostpreferences.cpp.
void HostPreferences::setFullscreenScale | ( | bool | scale | ) |
Definition at line 114 of file hostpreferences.cpp.
void HostPreferences::setGrabAllKeys | ( | bool | grab | ) |
Definition at line 134 of file hostpreferences.cpp.
void HostPreferences::setHeight | ( | int | height | ) |
Definition at line 87 of file hostpreferences.cpp.
void HostPreferences::setShowLocalCursor | ( | bool | show | ) |
Definition at line 144 of file hostpreferences.cpp.
void HostPreferences::setShownWhileConnected | ( | bool | connected | ) |
If connected
is true, a message is shown that settings might only apply after a reconnect.
Definition at line 234 of file hostpreferences.cpp.
void HostPreferences::setViewOnly | ( | bool | view | ) |
Definition at line 154 of file hostpreferences.cpp.
void HostPreferences::setWidth | ( | int | width | ) |
Definition at line 98 of file hostpreferences.cpp.
void HostPreferences::setWindowedScale | ( | bool | scale | ) |
Definition at line 124 of file hostpreferences.cpp.
|
protected |
Definition at line 72 of file hostpreferences.cpp.
bool HostPreferences::showDialog | ( | QWidget * | parent | ) |
Show the configuration dialog.
Definition at line 177 of file hostpreferences.cpp.
bool HostPreferences::showDialogIfNeeded | ( | QWidget * | parent | ) |
Show the configuration dialog if needed, ie.
if the user did check "show this dialog again for this host". Returns true if user pressed ok.
Definition at line 159 of file hostpreferences.cpp.
bool HostPreferences::showLocalCursor | ( | ) |
Definition at line 139 of file hostpreferences.cpp.
bool HostPreferences::viewOnly | ( | ) |
Definition at line 149 of file hostpreferences.cpp.
bool HostPreferences::walletSupport | ( | ) |
Definition at line 82 of file hostpreferences.cpp.
int HostPreferences::width | ( | ) |
bool HostPreferences::windowedScale | ( | ) |
Whether scaling is enabled when session is not full screen.
Definition at line 119 of file hostpreferences.cpp.
Member Data Documentation
|
protected |
Definition at line 101 of file hostpreferences.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.