• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaExtraComponents

Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Properties | List of all members
ResourceInstance Class Reference

#include <resourceinstance.h>

Inheritance diagram for ResourceInstance:
Inheritance graph
[legend]

Public Slots

void notifyFocusedIn ()
 
void notifyFocusedOut ()
 
void notifyModified ()
 

Signals

void mimetypeChanged ()
 
void titleChanged ()
 
void uriChanged ()
 

Public Member Functions

 ResourceInstance (QDeclarativeItem *parent=0)
 
 ~ResourceInstance ()
 
QString mimetype () const
 
void setMimetype (const QString &mimetype)
 
void setTitle (const QString &title)
 
void setUri (const QUrl &uri)
 
QString title () const
 
QUrl uri () const
 

Protected Slots

void syncWid ()
 

Protected Member Functions

QGraphicsView * view () const
 

Properties

QString mimetype
 
QString title
 
QUrl uri
 

Detailed Description

Definition at line 32 of file resourceinstance.h.

Constructor & Destructor Documentation

ResourceInstance::ResourceInstance ( QDeclarativeItem *  parent = 0)

Definition at line 31 of file resourceinstance.cpp.

ResourceInstance::~ResourceInstance ( )

Definition at line 39 of file resourceinstance.cpp.

Member Function Documentation

QString ResourceInstance::mimetype ( ) const
void ResourceInstance::mimetypeChanged ( )
signal
void ResourceInstance::notifyFocusedIn ( )
slot

Call this method to notify the system that the resource has the focus in your application.

Note
You only need to call this in MDI applications

Definition at line 155 of file resourceinstance.cpp.

void ResourceInstance::notifyFocusedOut ( )
slot

Call this method to notify the system that the resource lost the focus in your application.

Note
You only need to call this in MDI applications

Definition at line 163 of file resourceinstance.cpp.

void ResourceInstance::notifyModified ( )
slot

Call this method to notify the system that you modified (the contents of) the resource.

Definition at line 148 of file resourceinstance.cpp.

void ResourceInstance::setMimetype ( const QString &  mimetype)

Definition at line 125 of file resourceinstance.cpp.

void ResourceInstance::setTitle ( const QString &  title)

Definition at line 139 of file resourceinstance.cpp.

void ResourceInstance::setUri ( const QUrl &  uri)

Definition at line 110 of file resourceinstance.cpp.

void ResourceInstance::syncWid ( )
protectedslot

Definition at line 73 of file resourceinstance.cpp.

QString ResourceInstance::title ( ) const
void ResourceInstance::titleChanged ( )
signal
QUrl ResourceInstance::uri ( ) const
void ResourceInstance::uriChanged ( )
signal
QGraphicsView * ResourceInstance::view ( ) const
protected

Definition at line 44 of file resourceinstance.cpp.

Property Documentation

QString ResourceInstance::mimetype
readwrite

Definition at line 37 of file resourceinstance.h.

QString ResourceInstance::title
readwrite

Definition at line 38 of file resourceinstance.h.

QUrl ResourceInstance::uri
readwrite

Definition at line 36 of file resourceinstance.h.


The documentation for this class was generated from the following files:
  • resourceinstance.h
  • resourceinstance.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaExtraComponents

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

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

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