• 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 | List of all members
RemoteViewFactory Class Referenceabstract

#include <remoteviewfactory.h>

Inheritance diagram for RemoteViewFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ~RemoteViewFactory ()
 
virtual QString connectActionText () const =0
 
virtual QString connectButtonText () const =0
 
virtual QString connectToolTipText () const =0
 
virtual HostPreferences * createHostPreferences (KConfigGroup configGroup, QWidget *parent)=0
 
virtual RemoteView * createView (QWidget *parent, const KUrl &url, KConfigGroup configGroup)=0
 
virtual QString scheme () const =0
 
virtual bool supportsUrl (const KUrl &url) const =0
 

Protected Member Functions

 RemoteViewFactory (QObject *parent=0)
 

Detailed Description

Factory to be implemented by any plugin.

Definition at line 52 of file remoteviewfactory.h.

Constructor & Destructor Documentation

RemoteViewFactory::~RemoteViewFactory ( )
virtual

Deconstructor.

Definition at line 33 of file remoteviewfactory.cpp.

RemoteViewFactory::RemoteViewFactory ( QObject *  parent = 0)
protected

Protected constructor so it cannot be instantiated.

Definition at line 28 of file remoteviewfactory.cpp.

Member Function Documentation

virtual QString RemoteViewFactory::connectActionText ( ) const
pure virtual

Returns the text of the action in the file menu (by default).

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual QString RemoteViewFactory::connectButtonText ( ) const
pure virtual

Returns the text of the connect button on the startscreen.

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual QString RemoteViewFactory::connectToolTipText ( ) const
pure virtual

Returns the tooltip next to the url navigator when the user presses the connect action.

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual HostPreferences* RemoteViewFactory::createHostPreferences ( KConfigGroup  configGroup,
QWidget *  parent 
)
pure virtual

Returns a new HostPreferences implementing object or 0 if no settings are available.

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual RemoteView* RemoteViewFactory::createView ( QWidget *  parent,
const KUrl &  url,
KConfigGroup  configGroup 
)
pure virtual

Returns a new RemoteView implementing object.

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual QString RemoteViewFactory::scheme ( ) const
pure virtual

Returns the supported scheme.

See also
KUrl::scheme()

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.

virtual bool RemoteViewFactory::supportsUrl ( const KUrl &  url) const
pure virtual

Returns true if the provided url is supported by the current plugin.

Implemented in NxViewFactory, RdpViewFactory, VncViewFactory, and KonsoleViewFactory.


The documentation for this class was generated from the following files:
  • remoteviewfactory.h
  • remoteviewfactory.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