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

krdc

  • sources
  • kde-4.12
  • kdenetwork
  • krdc
  • rdp
rdphostpreferences.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2007 - 2012 Urs Wolfer <uwolfer @ kde.org>
4 ** Copyright (C) 2012 AceLan Kao <acelan @ acelan.idv.tw>
5 **
6 ** This file is part of KDE.
7 **
8 ** This program is free software; you can redistribute it and/or modify
9 ** it under the terms of the GNU General Public License as published by
10 ** the Free Software Foundation; either version 2 of the License, or
11 ** (at your option) any later version.
12 **
13 ** This program is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ** GNU General Public License for more details.
17 **
18 ** You should have received a copy of the GNU General Public License
19 ** along with this program; see the file COPYING. If not, write to
20 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ** Boston, MA 02110-1301, USA.
22 **
23 ****************************************************************************/
24 
25 #ifndef RDPHOSTPREFERENCES_H
26 #define RDPHOSTPREFERENCES_H
27 
28 #include "hostpreferences.h"
29 #include "ui_rdppreferences.h"
30 
31 class RdpHostPreferences : public HostPreferences
32 {
33  Q_OBJECT
34 
35 public:
36  explicit RdpHostPreferences(KConfigGroup configGroup, QObject *parent = 0);
37  ~RdpHostPreferences();
38 
39  void setColorDepth(int colorDepth);
40  int colorDepth() const;
41  void setKeyboardLayout(const QString &keyboardLayout);
42  QString keyboardLayout() const;
43  void setSound(int sound);
44  int sound() const;
45  void setConsole(bool console);
46  bool console() const;
47  void setExtraOptions(const QString &extraOptions);
48  QString extraOptions() const;
49  void setRemoteFX(bool remoteFX);
50  bool remoteFX() const;
51  void setPerformance(int performance);
52  int performance() const;
53  void setShareMedia(const QString &shareMedia);
54  QString shareMedia() const;
55 
56 protected:
57  QWidget* createProtocolSpecificConfigPage();
58  void acceptConfig();
59 
60 private:
61  Ui::RdpPreferences rdpUi;
62 
63 private slots:
64  void updateWidthHeight(int index);
65 };
66 
67 #endif
RdpHostPreferences
Definition: rdphostpreferences.h:31
RdpHostPreferences::setColorDepth
void setColorDepth(int colorDepth)
Definition: rdphostpreferences.cpp:188
RdpHostPreferences::colorDepth
int colorDepth() const
Definition: rdphostpreferences.cpp:194
RdpHostPreferences::setKeyboardLayout
void setKeyboardLayout(const QString &keyboardLayout)
Definition: rdphostpreferences.cpp:199
hostpreferences.h
RdpHostPreferences::setPerformance
void setPerformance(int performance)
Definition: rdphostpreferences.cpp:252
RdpHostPreferences::keyboardLayout
QString keyboardLayout() const
Definition: rdphostpreferences.cpp:205
QWidget
RdpHostPreferences::setSound
void setSound(int sound)
Definition: rdphostpreferences.cpp:210
QObject
RdpHostPreferences::~RdpHostPreferences
~RdpHostPreferences()
Definition: rdphostpreferences.cpp:94
RdpHostPreferences::RdpHostPreferences
RdpHostPreferences(KConfigGroup configGroup, QObject *parent=0)
Definition: rdphostpreferences.cpp:89
RdpHostPreferences::console
bool console() const
Definition: rdphostpreferences.cpp:226
RdpHostPreferences::setShareMedia
void setShareMedia(const QString &shareMedia)
Definition: rdphostpreferences.cpp:263
HostPreferences::configGroup
KConfigGroup configGroup()
Definition: hostpreferences.cpp:51
RdpHostPreferences::setExtraOptions
void setExtraOptions(const QString &extraOptions)
Definition: rdphostpreferences.cpp:231
RdpHostPreferences::createProtocolSpecificConfigPage
QWidget * createProtocolSpecificConfigPage()
Definition: rdphostpreferences.cpp:98
HostPreferences
Definition: hostpreferences.h:42
RdpHostPreferences::shareMedia
QString shareMedia() const
Definition: rdphostpreferences.cpp:269
RdpHostPreferences::setConsole
void setConsole(bool console)
Definition: rdphostpreferences.cpp:221
RdpHostPreferences::performance
int performance() const
Definition: rdphostpreferences.cpp:258
RdpHostPreferences::extraOptions
QString extraOptions() const
Definition: rdphostpreferences.cpp:237
RdpHostPreferences::setRemoteFX
void setRemoteFX(bool remoteFX)
Definition: rdphostpreferences.cpp:242
RdpHostPreferences::remoteFX
bool remoteFX() const
Definition: rdphostpreferences.cpp:247
RdpHostPreferences::sound
int sound() const
Definition: rdphostpreferences.cpp:216
RdpHostPreferences::acceptConfig
void acceptConfig()
Called when the user validates the config dialog.
Definition: rdphostpreferences.cpp:172
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