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

krfb

krfbconfig.h

Go to the documentation of this file.
00001 // This file is generated by kconfig_compiler from krfb.kcfg.
00002 // All changes you do to this file will be lost.
00003 #ifndef KRFBCONFIG_H
00004 #define KRFBCONFIG_H
00005 
00006 #include <kconfigskeleton.h>
00007 #include <kdebug.h>
00008 
00009 class KrfbConfig : public KConfigSkeleton
00010 {
00011   public:
00012 
00013     static KrfbConfig *self();
00014     ~KrfbConfig();
00015 
00016 
00020     static
00021     bool useDefaultPort()
00022     {
00023       return self()->mUseDefaultPort;
00024     }
00025 
00026 
00030     static
00031     int port()
00032     {
00033       return self()->mPort;
00034     }
00035 
00036 
00040     static
00041     bool publishService()
00042     {
00043       return self()->mPublishService;
00044     }
00045 
00046 
00050     static
00051     bool allowDesktopControl()
00052     {
00053       return self()->mAllowDesktopControl;
00054     }
00055 
00056 
00060     static
00061     bool askOnConnect()
00062     {
00063       return self()->mAskOnConnect;
00064     }
00065 
00066 
00070     static
00071     bool allowUninvitedConnections()
00072     {
00073       return self()->mAllowUninvitedConnections;
00074     }
00075 
00076 
00080     static
00081     QString uninvitedConnectionPassword()
00082     {
00083       return self()->mUninvitedConnectionPassword;
00084     }
00085 
00086   protected:
00087     KrfbConfig();
00088     friend class KrfbConfigHelper;
00089 
00090 
00091     // TCP
00092     bool mUseDefaultPort;
00093     int mPort;
00094     bool mPublishService;
00095 
00096     // Security
00097     bool mAllowDesktopControl;
00098     bool mAskOnConnect;
00099     bool mAllowUninvitedConnections;
00100     QString mUninvitedConnectionPassword;
00101 
00102   private:
00103 };
00104 
00105 #endif
00106 

krfb

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

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal