kmainwindowiface.cpp
203 bool KMainWindowInterface::processDynamic(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
bool disableAction(TQCString action)
Disables the requested action.
Definition: kmainwindowiface.cpp:72
bool enableAction(TQCString action)
Enables the requested action.
Definition: kmainwindowiface.cpp:85
DCOPRef action(const TQCString &name)
Returns a dcop reference to the selected KAction.
Definition: kmainwindowiface.cpp:123
bool actionIsEnabled(TQCString action)
Returns the status of the requested action.
Definition: kmainwindowiface.cpp:98
QCStringList actions()
Return a list of actions available to the application's window.
Definition: kmainwindowiface.cpp:46
TQCString actionToolTip(TQCString action)
Returns the tool tip text of the requested action.
Definition: kmainwindowiface.cpp:110
void grabWindowToClipBoard()
Copies a pixmap representation of the current main window to the clipboard.
Definition: kmainwindowiface.cpp:137
virtual KAction * action(const char *name) const
Returns an action object with the given name.
Definition: kdcopactionproxy.cpp:78
static void forceActiveWindow(WId win, long time=0)
virtual void activate()
Emulate user's interaction programmatically, by activating the action.
Definition: kaction.cpp:1104
bool activateAction(TQCString action)
Activates the requested action.
Definition: kmainwindowiface.cpp:59
virtual TQValueList< KAction * > actions() const
Returns a list of exportable actions.
Definition: kdcopactionproxy.cpp:70
TQValueList< TQCString > functions()
A proxy class publishing a DCOP interface for actions.
Definition: kdcopactionproxy.h:39
bool processPropertyRequest(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
KMainWindowInterface(KMainWindow *mainWindow)
Construct a new interface object.
Definition: kmainwindowiface.cpp:32
virtual TQMap< TQCString, DCOPRef > actionMap(const TQCString &appId=TQCString()) const
Returns a map of all exported actions, with the action name as keys and a global DCOP reference as da...
Definition: kdcopactionproxy.cpp:91
bool append(const KKeySequence &keySeq)
virtual KActionCollection * actionCollection() const
Retrieves the entire action collection for the GUI client.
Definition: kxmlguiclient.cpp:107
~KMainWindowInterface()
Destructor Cleans up the dcop action proxy object.
Definition: kmainwindowiface.cpp:40
virtual TQCString actionObjectId(const TQCString &name) const
Use this method to retrieve a DCOP object id for an action with the given name.
Definition: kdcopactionproxy.cpp:86