lib

KoApplicationIface Class Reference

#include <KoApplicationIface.h>

Inheritance diagram for KoApplicationIface:
DCOPObject

Additional Inherited Members

- Public Member Functions inherited from DCOPObject
 DCOPObject (TQObject *obj)
 
 DCOPObject (const TQCString &objId)
 
TQCString objId () const
 
bool setObjId (const TQCString &objId)
 
virtual bool process (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
 
virtual bool processDynamic (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
 
virtual QCStringList functionsDynamic ()
 
virtual QCStringList interfacesDynamic ()
 
virtual QCStringList interfaces ()
 
virtual QCStringList functions ()
 
void emitDCOPSignal (const TQCString &signal, const TQByteArray &data)
 
bool connectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot, bool Volatile)
 
bool disconnectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot)
 
DCOPClient * callingDcopClient ()
 
- Static Public Member Functions inherited from DCOPObject
static bool hasObject (const TQCString &objId)
 
static DCOPObject * find (const TQCString &objId)
 
static TQPtrList< DCOPObject > match (const TQCString &partialId)
 
static TQCString objectName (TQObject *obj)
 

Detailed Description

DCOP interface for any KOffice application (entry point)

Definition at line 30 of file KoApplicationIface.h.

Constructor & Destructor Documentation

◆ KoApplicationIface()

KoApplicationIface::KoApplicationIface ( )

Definition at line 34 of file KoApplicationIface.cpp.

◆ ~KoApplicationIface()

KoApplicationIface::~KoApplicationIface ( )

Definition at line 39 of file KoApplicationIface.cpp.

Member Function Documentation

◆ createDocument

DCOPRef KoApplicationIface::createDocument ( const TQString &  nativeFormat)

Creates a new document for the given native mimetype Use it to create a shell and to load an existing file, if any.

Definition at line 43 of file KoApplicationIface.cpp.

◆ getDocuments

TQValueList< DCOPRef > KoApplicationIface::getDocuments ( )
Returns
a list of references to all the documents (see KoDocumentIface)

Definition at line 55 of file KoApplicationIface.cpp.

◆ getViews

TQValueList< DCOPRef > KoApplicationIface::getViews ( )
Returns
a list of references to all the views (see KoViewIface) Convenience method to avoid iterating over all documents to get all the views.

Definition at line 68 of file KoApplicationIface.cpp.

◆ getWindows

TQValueList< DCOPRef > KoApplicationIface::getWindows ( )
Returns
a list of references to all the windows (see KoMainWindowIface)

Definition at line 85 of file KoApplicationIface.cpp.


The documentation for this class was generated from the following files: