• 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 ()
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Protected Member Functions

 HostPreferences (KConfigGroup configGroup, QObject *parent)
 
virtual void acceptConfig ()
 
virtual QWidget * createProtocolSpecificConfigPage ()=0
 
bool hostConfigured ()
 
bool showConfigAgain ()
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Protected Attributes

KConfigGroup m_configGroup
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:34 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