#include <tdemainwindowiface.h>

Public Member Functions | |
TDEMainWindowInterface (TDEMainWindow *mainWindow) | |
~TDEMainWindowInterface () | |
QCStringList | functionsDynamic () |
bool | processDynamic (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData) |
![]() | |
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 () |
Additional Inherited Members | |
![]() | |
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 to TDEMainWindow.
This is the main interface to the TDEMainWindow. This will provide a consistent DCOP interface to all KDE applications that use it.
Definition at line 40 of file tdemainwindowiface.h.
Constructor & Destructor Documentation
◆ TDEMainWindowInterface()
TDEMainWindowInterface::TDEMainWindowInterface | ( | TDEMainWindow * | mainWindow | ) |
Construct a new interface object.
- Parameters
-
mainWindow - The parent TDEMainWindow object that will provide us with the TDEAction objects.
Definition at line 32 of file tdemainwindowiface.cpp.
◆ ~TDEMainWindowInterface()
TDEMainWindowInterface::~TDEMainWindowInterface | ( | ) |
Destructor Cleans up the dcop action proxy object.
Definition at line 40 of file tdemainwindowiface.cpp.
Member Function Documentation
◆ action
DCOPRef TDEMainWindowInterface::action | ( | const TQCString & | name | ) |
Returns a dcop reference to the selected TDEAction.
- Parameters
-
name The name of the action. The names of valid actions can be found by calling actions().
- Returns
- A DCOPRef for the tdeaction.
Definition at line 123 of file tdemainwindowiface.cpp.
◆ actionIsEnabled
bool TDEMainWindowInterface::actionIsEnabled | ( | TQCString | action | ) |
Returns the status of the requested action.
- Parameters
-
action The name of the action. The names of valid actions can be found by calling actions().
- Returns
- The state of the action, true - enabled, false - disabled.
Definition at line 98 of file tdemainwindowiface.cpp.
◆ actionMap
TQMap< TQCString, DCOPRef > TDEMainWindowInterface::actionMap | ( | ) |
Returns and action map.
Definition at line 128 of file tdemainwindowiface.cpp.
◆ actions
QCStringList TDEMainWindowInterface::actions | ( | ) |
Return a list of actions available to the application's window.
- Returns
- A QCStringList containing valid names actions.
Definition at line 46 of file tdemainwindowiface.cpp.
◆ actionToolTip
TQCString TDEMainWindowInterface::actionToolTip | ( | TQCString | action | ) |
Returns the tool tip text of the requested action.
- Parameters
-
action The name of the action to activate. The names of valid actions can be found by calling actions().
- Returns
- A TQCString containing the text of the action's tool tip.
Definition at line 110 of file tdemainwindowiface.cpp.
◆ activateAction
bool TDEMainWindowInterface::activateAction | ( | TQCString | action | ) |
Activates the requested action.
- Parameters
-
action The name of the action to activate. The names of valid actions can be found by calling actions().
- Returns
- The success of the operation.
Definition at line 59 of file tdemainwindowiface.cpp.
◆ close
void TDEMainWindowInterface::close | ( | ) |
Definition at line 178 of file tdemainwindowiface.cpp.
◆ disableAction
bool TDEMainWindowInterface::disableAction | ( | TQCString | action | ) |
Disables the requested action.
- Parameters
-
action The name of the action to disable. The names of valid actions can be found by calling actions().
- Returns
- The success of the operation.
Definition at line 72 of file tdemainwindowiface.cpp.
◆ enableAction
bool TDEMainWindowInterface::enableAction | ( | TQCString | action | ) |
Enables the requested action.
- Parameters
-
action The name of the action to enable. The names of valid actions can be found by calling actions().
- Returns
- The success of the operation.
Definition at line 85 of file tdemainwindowiface.cpp.
◆ functionsDynamic()
|
virtual |
Reimplemented from DCOPObject.
Definition at line 199 of file tdemainwindowiface.cpp.
◆ getWinID
int TDEMainWindowInterface::getWinID | ( | ) |
Returns the ID of the current main window.
This is useful for automated screen captures or other evil widget fun.
- Returns
- A integer value of the main window's ID.
Definition at line 133 of file tdemainwindowiface.cpp.
◆ grabWindowToClipBoard
void TDEMainWindowInterface::grabWindowToClipBoard | ( | ) |
Copies a pixmap representation of the current main window to the clipboard.
Definition at line 137 of file tdemainwindowiface.cpp.
◆ hide
void TDEMainWindowInterface::hide | ( | ) |
Definition at line 142 of file tdemainwindowiface.cpp.
◆ lower
void TDEMainWindowInterface::lower | ( | ) |
Definition at line 170 of file tdemainwindowiface.cpp.
◆ maximize
void TDEMainWindowInterface::maximize | ( | ) |
Definition at line 146 of file tdemainwindowiface.cpp.
◆ minimize
void TDEMainWindowInterface::minimize | ( | ) |
Definition at line 150 of file tdemainwindowiface.cpp.
◆ move
void TDEMainWindowInterface::move | ( | int | newX, |
int | newY | ||
) |
Definition at line 158 of file tdemainwindowiface.cpp.
◆ processDynamic()
|
virtual |
Reimplemented from DCOPObject.
Definition at line 203 of file tdemainwindowiface.cpp.
◆ raise
void TDEMainWindowInterface::raise | ( | ) |
Definition at line 166 of file tdemainwindowiface.cpp.
◆ resize
void TDEMainWindowInterface::resize | ( | int | newWidth, |
int | newHeight | ||
) |
Definition at line 154 of file tdemainwindowiface.cpp.
◆ restore
void TDEMainWindowInterface::restore | ( | ) |
Definition at line 174 of file tdemainwindowiface.cpp.
◆ setActiveWindow
void TDEMainWindowInterface::setActiveWindow | ( | ) |
Definition at line 186 of file tdemainwindowiface.cpp.
◆ setActiveWindowFocused
void TDEMainWindowInterface::setActiveWindowFocused | ( | ) |
Definition at line 190 of file tdemainwindowiface.cpp.
◆ setGeometry
void TDEMainWindowInterface::setGeometry | ( | int | newX, |
int | newY, | ||
int | newWidth, | ||
int | newHeight | ||
) |
Definition at line 162 of file tdemainwindowiface.cpp.
◆ show
void TDEMainWindowInterface::show | ( | void | ) |
Definition at line 182 of file tdemainwindowiface.cpp.
The documentation for this class was generated from the following files: