• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

krdc

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HostPreferences Class Referenceabstract

#include <hostpreferences.h>

Inheritance diagram for HostPreferences:
Inheritance graph
[legend]

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.

HostPreferences::HostPreferences ( KConfigGroup  configGroup,
QObject *  parent 
)
protected

Definition at line 37 of file hostpreferences.cpp.

Member Function Documentation

void HostPreferences::acceptConfig ( )
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.

virtual QWidget* HostPreferences::createProtocolSpecificConfigPage ( )
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 ( )

Saved height.

Generally used for the viewsize.

Definition at line 93 of file hostpreferences.cpp.

bool HostPreferences::hostConfigured ( )
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.

bool HostPreferences::showConfigAgain ( )
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 ( )

Saved width.

Generally used for the viewsize.

Definition at line 104 of file hostpreferences.cpp.

bool HostPreferences::windowedScale ( )

Whether scaling is enabled when session is not full screen.

Definition at line 119 of file hostpreferences.cpp.

Member Data Documentation

KConfigGroup HostPreferences::m_configGroup
protected

Definition at line 101 of file hostpreferences.h.


The documentation for this class was generated from the following files:
  • hostpreferences.h
  • hostpreferences.cpp
This file is part of the KDE documentation.
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.

krdc

Skip menu "krdc"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal