KDEUI
kstandardaction.cpp
Go to the documentation of this file.
48 AutomaticAction::AutomaticAction(const KIcon &icon, const QString &text, const KShortcut &shortcut, const char *slot,
87 // kDebug(125) << "KStandardAction::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << parent << " )"; // ellis
548 "Shows the statusbar, which is the bar at the bottom of the window used for status information.</p>" ) );
562 KToggleFullScreenAction *fullScreen(const QObject *recvr, const char *slot, QWidget* window, QObject *parent)
565 ret = static_cast< KToggleFullScreenAction* >( KStandardAction::create( FullScreen, recvr, slot, parent ) );
Definition: kstandardaction.h:133
void setWindow(QWidget *window)
Sets the window that will be related to this action.
Definition: ktogglefullscreenaction.cpp:84
KAction * help(const QObject *recvr, const char *slot, QObject *parent)
Display the help.
Definition: kstandardaction.cpp:596
QString i18n(const char *text)
Definition: kstandardaction.h:137
KAction * saveOptions(const QObject *recvr, const char *slot, QObject *parent)
Display the save options dialog.
Definition: kstandardaction.cpp:571
KAction * documentBack(const QObject *recvr, const char *slot, QObject *parent)
Move back (document style menu).
Definition: kstandardaction.cpp:444
KAction * print(const QObject *recvr, const char *slot, QObject *parent)
Print the current document.
Definition: kstandardaction.cpp:259
KAction * cut(const QObject *recvr, const char *slot, QObject *parent)
Cut selected area and store it in the clipboard.
Definition: kstandardaction.cpp:294
KAction * configureNotifications(const QObject *recvr, const char *slot, QObject *parent)
The Configure Notifications dialog.
Definition: kstandardaction.cpp:591
KAction * firstPage(const QObject *recvr, const char *slot, QObject *parent)
Jump to the first page.
Definition: kstandardaction.cpp:434
Definition: kstandardaction.h:138
Definition: kstandardaction.h:133
QList< StandardAction > actionIds()
Returns a list of all actionIds.
Definition: kstandardaction.cpp:63
KAction * undo(const QObject *recvr, const char *slot, QObject *parent)
Undo the last operation.
Definition: kstandardaction.cpp:284
KAction * back(const QObject *recvr, const char *slot, QObject *parent)
Move back (web style menu).
Definition: kstandardaction.cpp:394
Definition: kstandardaction.h:148
Definition: kstandardaction.h:129
Definition: kstandardaction.h:138
Definition: kstandardaction.h:130
KAction * saveAs(const QObject *recvr, const char *slot, QObject *parent)
Save the current document under a different name.
Definition: kstandardaction.cpp:249
KAction * tipOfDay(const QObject *recvr, const char *slot, QObject *parent)
Display "Tip of the Day".
Definition: kstandardaction.cpp:611
KAction * copy(const QObject *recvr, const char *slot, QObject *parent)
Copy the selected area into the clipboard.
Definition: kstandardaction.cpp:299
Definition: kstandardaction.h:137
KToggleAction * showStatusbar(const QObject *recvr, const char *slot, QObject *parent)
Show/Hide the statusbar.
Definition: kstandardaction.cpp:542
Definition: kstandardaction.h:141
const KShortcut & shortcut(StandardShortcut id)
Returns the keybinding for accel.
Definition: kstandardshortcut.cpp:285
KAction * aboutKDE(const QObject *recvr, const char *slot, QObject *parent)
Display the About KDE dialog.
Definition: kstandardaction.cpp:631
Definition: kstandardaction.h:130
KAction * zoomOut(const QObject *recvr, const char *slot, QObject *parent)
Zoom out.
Definition: kstandardaction.cpp:374
KAction * prior(const QObject *recvr, const char *slot, QObject *parent)
Scroll up one page.
Definition: kstandardaction.cpp:409
Definition: kstandardaction.h:129
Definition: kstandardaction.h:137
Definition: kstandardaction.h:133
const char * name(StandardAction id)
This will return the internal name of a given standard action.
Definition: kstandardaction.cpp:223
Definition: kstandardaction.h:156
QAction * addAction(const QString &name, QAction *action)
Add an action under the given name to the collection.
Definition: kactioncollection.cpp:217
Definition: kstandardaction.h:133
Definition: kstandardaction.h:126
Definition: kstandardaction.h:130
const KAboutData * aboutData() const
KAction * find(const QObject *recvr, const char *slot, QObject *parent)
Initiate a 'find' request in the current document.
Definition: kstandardaction.cpp:329
Definition: kstandardaction.h:133
KAction * deselect(const QObject *recvr, const char *slot, QObject *parent)
Deselect any selected elements in the current document.
Definition: kstandardaction.cpp:324
KStandardShortcut::StandardShortcut shortcutForActionId(StandardAction id)
Returns the standardshortcut associated with actionId.
Definition: kstandardaction.cpp:75
Definition: kstandardaction.h:137
KAction * preferences(const QObject *recvr, const char *slot, QObject *parent)
Display the preferences/options dialog.
Definition: kstandardaction.cpp:581
KAction * gotoPage(const QObject *recvr, const char *slot, QObject *parent)
Go to a specific page (dialog).
Definition: kstandardaction.cpp:424
Definition: kstandardaction.h:129
KAction * paste(const QObject *recvr, const char *slot, QObject *parent)
Paste the contents of clipboard at the current mouse or cursor position.
Definition: kstandardaction.cpp:304
KAction * findNext(const QObject *recvr, const char *slot, QObject *parent)
Find the next instance of a stored 'find'.
Definition: kstandardaction.cpp:334
static KAction * buildAutomaticAction(QObject *parent, StandardAction id, const char *slot)
Definition: kstandardaction.cpp:469
QString i18nc(const char *ctxt, const char *text)
Definition: kstandardaction.h:133
KAction * open(const QObject *recvr, const char *slot, QObject *parent)
Open an existing file.
Definition: kstandardaction.cpp:234
Definition: kstandardaction.h:141
Definition: kstandardaction.h:133
Definition: kstandardaction.h:156
KAction * aboutApp(const QObject *recvr, const char *slot, QObject *parent)
Display the application's About box.
Definition: kstandardaction.cpp:626
Definition: kstandardaction.h:141
KAction * revert(const QObject *recvr, const char *slot, QObject *parent)
Revert the current document to the last saved version (essentially will undo all changes).
Definition: kstandardaction.cpp:254
Definition: kstandardaction.h:129
KAction * helpContents(const QObject *recvr, const char *slot, QObject *parent)
Display the help contents.
Definition: kstandardaction.cpp:601
KAction * goTo(const QObject *recvr, const char *slot, QObject *parent)
Go to somewhere in general.
Definition: kstandardaction.cpp:419
Definition: kstandardaction.h:142
Definition: kstandardaction.h:134
KAction * keyBindings(const QObject *recvr, const char *slot, QObject *parent)
Display the configure key bindings dialog.
Definition: kstandardaction.cpp:576
bool isEmpty() const
Returns whether this shortcut contains any nonempty key sequences.
Definition: kshortcut.cpp:144
Definition: kstandardaction.h:141
KAction * editBookmarks(const QObject *recvr, const char *slot, QObject *parent)
Edit the application bookmarks.
Definition: kstandardaction.cpp:459
StandardShortcut
Defines the identifier of all standard accelerators.
Definition: kstandardshortcut.h:55
KAction * gotoLine(const QObject *recvr, const char *slot, QObject *parent)
Go to a specific line (dialog).
Definition: kstandardaction.cpp:429
Definition: kstandardaction.h:161
KAction * fitToWidth(const QObject *recvr, const char *slot, QObject *parent)
Fit the document view to the width of the current window.
Definition: kstandardaction.cpp:359
Definition: kstandardaction.h:133
KAction * actualSize(const QObject *recvr, const char *slot, QObject *parent)
View the document at its actual size.
Definition: kstandardaction.cpp:349
KAction * up(const QObject *recvr, const char *slot, QObject *parent)
Move up (web style menu).
Definition: kstandardaction.cpp:389
KAction * lastPage(const QObject *recvr, const char *slot, QObject *parent)
Jump to the last page.
Definition: kstandardaction.cpp:439
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
Clear the content of the focus widget.
Definition: kstandardaction.cpp:314
KAction * reportBug(const QObject *recvr, const char *slot, QObject *parent)
Open up the Report Bug dialog.
Definition: kstandardaction.cpp:616
KAction * redisplay(const QObject *recvr, const char *slot, QObject *parent)
Redisplay or redraw the document.
Definition: kstandardaction.cpp:384
KAction * home(const QObject *recvr, const char *slot, QObject *parent)
Go to the "Home" position or document.
Definition: kstandardaction.cpp:404
Definition: kstandardaction.h:133
KAction * addBookmark(const QObject *recvr, const char *slot, QObject *parent)
Add the current page to the bookmarks tree.
Definition: kstandardaction.cpp:454
Definition: kstandardaction.h:141
KAction * redo(const QObject *recvr, const char *slot, QObject *parent)
Redo the last operation.
Definition: kstandardaction.cpp:289
Definition: kstandardaction.h:133
Definition: kstandardaction.h:129
KAction * next(const QObject *recvr, const char *slot, QObject *parent)
Scroll down one page.
Definition: kstandardaction.cpp:414
KAction * fitToPage(const QObject *recvr, const char *slot, QObject *parent)
Fit the document view to the size of the current window.
Definition: kstandardaction.cpp:354
Definition: kstandardaction.h:141
void setShortcut(const KShortcut &shortcut, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
Set the shortcut for this action.
Definition: kaction.cpp:198
KAction * printPreview(const QObject *recvr, const char *slot, QObject *parent)
Show a print preview of the current document.
Definition: kstandardaction.cpp:264
KAction * forward(const QObject *recvr, const char *slot, QObject *parent)
Move forward (web style menu).
Definition: kstandardaction.cpp:399
KAction * fitToHeight(const QObject *recvr, const char *slot, QObject *parent)
Fit the document view to the height of the current window.
Definition: kstandardaction.cpp:364
KAction * zoom(const QObject *recvr, const char *slot, QObject *parent)
Popup a zoom dialog.
Definition: kstandardaction.cpp:379
Definition: kstandardaction.h:141
Definition: kstandardaction.h:129
QString programName() const
KAction * replace(const QObject *recvr, const char *slot, QObject *parent)
Find and replace matches.
Definition: kstandardaction.cpp:344
KAction * openNew(const QObject *recvr, const char *slot, QObject *parent)
Create a new document or window.
Definition: kstandardaction.cpp:229
Definition: kstandardaction.h:142
Definition: kstandardaction.h:162
KAction * mail(const QObject *recvr, const char *slot, QObject *parent)
Mail this document.
Definition: kstandardaction.cpp:274
KAction * whatsThis(const QObject *recvr, const char *slot, QObject *parent)
Trigger the What's This cursor.
Definition: kstandardaction.cpp:606
KAction * switchApplicationLanguage(const QObject *recvr, const char *slot, QObject *parent)
Definition: kstandardaction.cpp:621
KRecentFilesAction * openRecent(const QObject *recvr, const char *slot, QObject *parent)
Open a recently used document.
Definition: kstandardaction.cpp:239
Definition: kstandardaction.h:129
Definition: kstandardaction.h:156
Definition: kstandardaction.h:163
Definition: kstandardaction.h:157
KAction * zoomIn(const QObject *recvr, const char *slot, QObject *parent)
Zoom in.
Definition: kstandardaction.cpp:369
Definition: kstandardaction.h:156
Definition: kstandardaction.h:141
Definition: kstandardaction.h:141
KAction * create(StandardAction id, const QObject *recvr, const char *slot, QObject *parent)
Creates an action corresponding to one of the KStandardAction::StandardAction actions, which is connected to the given object and slot, and is owned by parent.
Definition: kstandardaction.cpp:82
KAction * pasteText(const QObject *recvr, const char *slot, QObject *parent)
Paste the contents of clipboard at the current mouse or cursor position.
Definition: kstandardaction.cpp:309
const KComponentData & mainComponent()
Definition: kstandardaction.h:156
KAction * selectAll(const QObject *recvr, const char *slot, QObject *parent)
Select all elements in the current document.
Definition: kstandardaction.cpp:319
KAction * configureToolbars(const QObject *recvr, const char *slot, QObject *parent)
The Customize Toolbar dialog.
Definition: kstandardaction.cpp:586
KAction * findPrev(const QObject *recvr, const char *slot, QObject *parent)
Find a previous instance of a stored 'find'.
Definition: kstandardaction.cpp:339
KToggleFullScreenAction * fullScreen(const QObject *recvr, const char *slot, QWidget *window, QObject *parent)
Switch to/from full screen mode.
Definition: kstandardaction.cpp:562
An action for switching between to/from full screen mode.
Definition: ktogglefullscreenaction.h:49
KAction * quit(const QObject *recvr, const char *slot, QObject *parent)
Quit the program.
Definition: kstandardaction.cpp:279
KToggleAction * showMenubar(const QObject *recvr, const char *slot, QObject *parent)
Show/Hide the menubar.
Definition: kstandardaction.cpp:519
KAction * spelling(const QObject *recvr, const char *slot, QObject *parent)
Pop up the spell checker.
Definition: kstandardaction.cpp:464
KAction * documentForward(const QObject *recvr, const char *slot, QObject *parent)
Move forward (document style menu).
Definition: kstandardaction.cpp:449
KAction * save(const QObject *recvr, const char *slot, QObject *parent)
Save the current document.
Definition: kstandardaction.cpp:244
KAction * close(const QObject *recvr, const char *slot, QObject *parent)
Close the current document.
Definition: kstandardaction.cpp:269
Definition: kstandardaction.h:137
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.