|
|
@ -165,7 +165,7 @@ namespace KStdAction
|
|
|
|
* Creates an action corresponding to the
|
|
|
|
* Creates an action corresponding to the
|
|
|
|
* KStdAction::StdAction enum.
|
|
|
|
* KStdAction::StdAction enum.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction* create( StdAction id, const char *name,
|
|
|
|
TDEUI_EXPORT KAction* create( StdAction id, const char *name,
|
|
|
|
const TQObject *recvr, const char *slot,
|
|
|
|
const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent );
|
|
|
|
KActionCollection* parent );
|
|
|
|
|
|
|
|
|
|
|
@ -186,7 +186,7 @@ namespace KStdAction
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This will return the internal name of a given standard action.
|
|
|
|
* This will return the internal name of a given standard action.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT const char* name( StdAction id );
|
|
|
|
TDEUI_EXPORT const char* name( StdAction id );
|
|
|
|
|
|
|
|
|
|
|
|
/// @obsolete. Use name()
|
|
|
|
/// @obsolete. Use name()
|
|
|
|
inline const char* stdName(StdAction act_enum) { return name( act_enum ); }
|
|
|
|
inline const char* stdName(StdAction act_enum) { return name( act_enum ); }
|
|
|
@ -196,17 +196,17 @@ namespace KStdAction
|
|
|
|
* to give those heigher weight.
|
|
|
|
* to give those heigher weight.
|
|
|
|
* @since 3.1
|
|
|
|
* @since 3.1
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT TQStringList stdNames();
|
|
|
|
TDEUI_EXPORT TQStringList stdNames();
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Create a new document or window.
|
|
|
|
* Create a new document or window.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *openNew(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
TDEUI_EXPORT KAction *openNew(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Open an existing file.
|
|
|
|
* Open an existing file.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *open(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
TDEUI_EXPORT KAction *open(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Open a recently used document. The signature of the slot being called
|
|
|
|
* Open a recently used document. The signature of the slot being called
|
|
|
@ -217,86 +217,86 @@ namespace KStdAction
|
|
|
|
* @param parent parent widget
|
|
|
|
* @param parent parent widget
|
|
|
|
* @param name name of widget
|
|
|
|
* @param name name of widget
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KRecentFilesAction *openRecent(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
TDEUI_EXPORT KRecentFilesAction *openRecent(const TQObject *recvr, const char *slot, KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Save the current document.
|
|
|
|
* Save the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *save(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *save(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Save the current document under a different name.
|
|
|
|
* Save the current document under a different name.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *saveAs(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *saveAs(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Revert the current document to the last saved version
|
|
|
|
* Revert the current document to the last saved version
|
|
|
|
* (essentially will undo all changes).
|
|
|
|
* (essentially will undo all changes).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *revert(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *revert(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Close the current document.
|
|
|
|
* Close the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *close(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *close(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Print the current document.
|
|
|
|
* Print the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *print(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *print(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Show a print preview of the current document.
|
|
|
|
* Show a print preview of the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *printPreview(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *printPreview(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Mail this document.
|
|
|
|
* Mail this document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *mail(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *mail(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Quit the program.
|
|
|
|
* Quit the program.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *quit(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *quit(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Undo the last operation.
|
|
|
|
* Undo the last operation.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *undo(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *undo(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Redo the last operation.
|
|
|
|
* Redo the last operation.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *redo(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *redo(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Cut selected area and store it in the clipboard.
|
|
|
|
* Cut selected area and store it in the clipboard.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *cut(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *cut(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Copy the selected area into the clipboard.
|
|
|
|
* Copy the selected area into the clipboard.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *copy(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *copy(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Paste the contents of clipboard at the current mouse or cursor
|
|
|
|
* Paste the contents of clipboard at the current mouse or cursor
|
|
|
|
* position.
|
|
|
|
* position.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *paste(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *paste(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -305,190 +305,190 @@ namespace KStdAction
|
|
|
|
* menu if Klipper is running.
|
|
|
|
* menu if Klipper is running.
|
|
|
|
* @since 3.2
|
|
|
|
* @since 3.2
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *pasteText(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *pasteText(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Clear the content of the focus widget
|
|
|
|
* Clear the content of the focus widget
|
|
|
|
* @since 3.2
|
|
|
|
* @since 3.2
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *clear(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *clear(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Select all elements in the current document.
|
|
|
|
* Select all elements in the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *selectAll(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *selectAll(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Deselect any selected elements in the current document.
|
|
|
|
* Deselect any selected elements in the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *deselect(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *deselect(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Initiate a 'find' request in the current document.
|
|
|
|
* Initiate a 'find' request in the current document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *find(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *find(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Find the next instance of a stored 'find'.
|
|
|
|
* Find the next instance of a stored 'find'.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *findNext(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *findNext(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Find a previous instance of a stored 'find'.
|
|
|
|
* Find a previous instance of a stored 'find'.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *findPrev(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *findPrev(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Find and replace matches.
|
|
|
|
* Find and replace matches.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *replace(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *replace(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* View the document at its actual size.
|
|
|
|
* View the document at its actual size.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *actualSize(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *actualSize(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Fit the document view to the size of the current window.
|
|
|
|
* Fit the document view to the size of the current window.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *fitToPage(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *fitToPage(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Fit the document view to the width of the current window.
|
|
|
|
* Fit the document view to the width of the current window.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *fitToWidth(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *fitToWidth(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Fit the document view to the height of the current window.
|
|
|
|
* Fit the document view to the height of the current window.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *fitToHeight(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *fitToHeight(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Zoom in.
|
|
|
|
* Zoom in.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *zoomIn(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *zoomIn(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Zoom out.
|
|
|
|
* Zoom out.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *zoomOut(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *zoomOut(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Popup a zoom dialog.
|
|
|
|
* Popup a zoom dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *zoom(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *zoom(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Redisplay or redraw the document.
|
|
|
|
* Redisplay or redraw the document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *redisplay(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *redisplay(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Move up (web style menu).
|
|
|
|
* Move up (web style menu).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *up(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *up(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Move back (web style menu).
|
|
|
|
* Move back (web style menu).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *back(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *back(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Move forward (web style menu).
|
|
|
|
* Move forward (web style menu).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *forward(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *forward(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Go to the "Home" position or document.
|
|
|
|
* Go to the "Home" position or document.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *home(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *home(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Scroll up one page.
|
|
|
|
* Scroll up one page.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *prior(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *prior(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Scroll down one page.
|
|
|
|
* Scroll down one page.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *next(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *next(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Go to somewhere in general.
|
|
|
|
* Go to somewhere in general.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *goTo(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *goTo(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Go to a specific page (dialog).
|
|
|
|
* Go to a specific page (dialog).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *gotoPage(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *gotoPage(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Go to a specific line (dialog).
|
|
|
|
* Go to a specific line (dialog).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *gotoLine(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *gotoLine(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Jump to the first page.
|
|
|
|
* Jump to the first page.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *firstPage(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *firstPage(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Jump to the last page.
|
|
|
|
* Jump to the last page.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *lastPage(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *lastPage(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Add the current page to the bookmarks tree.
|
|
|
|
* Add the current page to the bookmarks tree.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *addBookmark(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *addBookmark(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Edit the application bookmarks.
|
|
|
|
* Edit the application bookmarks.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *editBookmarks(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *editBookmarks(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Pop up the spell checker.
|
|
|
|
* Pop up the spell checker.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *spelling(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *spelling(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Show/Hide the menubar.
|
|
|
|
* Show/Hide the menubar.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KToggleAction *showMenubar(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KToggleAction *showMenubar(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -498,7 +498,7 @@ namespace KStdAction
|
|
|
|
* Show/Hide the primary toolbar.
|
|
|
|
* Show/Hide the primary toolbar.
|
|
|
|
* @since 3.1
|
|
|
|
* @since 3.1
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KToggleAction *showToolbar(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KToggleAction *showToolbar(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED;
|
|
|
|
KActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @obsolete. toolbar actions are created automatically now in the
|
|
|
|
* @obsolete. toolbar actions are created automatically now in the
|
|
|
@ -506,26 +506,26 @@ namespace KStdAction
|
|
|
|
* See: KMainWindow::setStandardToolBarMenuEnabled(bool);
|
|
|
|
* See: KMainWindow::setStandardToolBarMenuEnabled(bool);
|
|
|
|
* Show/Hide the primary toolbar.
|
|
|
|
* Show/Hide the primary toolbar.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KToggleToolBarAction *showToolbar(const char* toolBarName,
|
|
|
|
TDEUI_EXPORT KToggleToolBarAction *showToolbar(const char* toolBarName,
|
|
|
|
KActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED;
|
|
|
|
KActionCollection* parent, const char *name = 0 ) KDE_DEPRECATED;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Show/Hide the statusbar.
|
|
|
|
* Show/Hide the statusbar.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KToggleAction *showStatusbar(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KToggleAction *showStatusbar(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Switch to/from full screen mode
|
|
|
|
* Switch to/from full screen mode
|
|
|
|
* @since 3.2
|
|
|
|
* @since 3.2
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KToggleFullScreenAction *fullScreen(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KToggleFullScreenAction *fullScreen(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, TQWidget* window, const char *name = 0 );
|
|
|
|
KActionCollection* parent, TQWidget* window, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the save options dialog.
|
|
|
|
* Display the save options dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *saveOptions(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *saveOptions(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -534,19 +534,19 @@ namespace KStdAction
|
|
|
|
* Note that you might be able to use the pre-built KXMLGUIFactory's fuction:
|
|
|
|
* Note that you might be able to use the pre-built KXMLGUIFactory's fuction:
|
|
|
|
* KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection());
|
|
|
|
* KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection());
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *keyBindings(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *keyBindings(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the preferences/options dialog.
|
|
|
|
* Display the preferences/options dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *preferences(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *preferences(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* The Customize Toolbar dialog.
|
|
|
|
* The Customize Toolbar dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *configureToolbars(const TQObject *recvr,
|
|
|
|
TDEUI_EXPORT KAction *configureToolbars(const TQObject *recvr,
|
|
|
|
const char *slot,
|
|
|
|
const char *slot,
|
|
|
|
KActionCollection* parent,
|
|
|
|
KActionCollection* parent,
|
|
|
|
const char *name = 0 );
|
|
|
|
const char *name = 0 );
|
|
|
@ -555,7 +555,7 @@ namespace KStdAction
|
|
|
|
* The Configure Notifications dialog.
|
|
|
|
* The Configure Notifications dialog.
|
|
|
|
* @since 3.1
|
|
|
|
* @since 3.1
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *configureNotifications(const TQObject *recvr,
|
|
|
|
TDEUI_EXPORT KAction *configureNotifications(const TQObject *recvr,
|
|
|
|
const char *slot,
|
|
|
|
const char *slot,
|
|
|
|
KActionCollection *parent,
|
|
|
|
KActionCollection *parent,
|
|
|
|
const char *name = 0);
|
|
|
|
const char *name = 0);
|
|
|
@ -563,51 +563,51 @@ namespace KStdAction
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the help.
|
|
|
|
* Display the help.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *help(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *help(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the help contents.
|
|
|
|
* Display the help contents.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *helpContents(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *helpContents(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Trigger the What's This cursor.
|
|
|
|
* Trigger the What's This cursor.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *whatsThis(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *whatsThis(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display "Tip of the Day"
|
|
|
|
* Display "Tip of the Day"
|
|
|
|
* @since 3.1
|
|
|
|
* @since 3.1
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *tipOfDay(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *tipOfDay(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Open up the Report Bug dialog.
|
|
|
|
* Open up the Report Bug dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *reportBug(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *reportBug(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the application's About box.
|
|
|
|
* Display the application's About box.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *aboutApp(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *aboutApp(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display the About KDE dialog.
|
|
|
|
* Display the About KDE dialog.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *aboutKDE(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *aboutKDE(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Display "Switch application language" dialog.
|
|
|
|
* Display "Switch application language" dialog.
|
|
|
|
* @since 3.5.8
|
|
|
|
* @since 3.5.8
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
KDEUI_EXPORT KAction *switchApplicationLanguage(const TQObject *recvr, const char *slot,
|
|
|
|
TDEUI_EXPORT KAction *switchApplicationLanguage(const TQObject *recvr, const char *slot,
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
KActionCollection* parent, const char *name = 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|