kstdaction.cpp
43 TDEAction* create( StdAction id, const char *name, const TQObject *recvr, const char *slot, TDEActionCollection* parent )
47 kdDebug(125) << "KStdAction::create( " << id << "=" << (pInfo ? pInfo->psName : (const char*)0) << ", " << parent << ", " << name << " )" << endl; // ellis
142 TDEAction *openNew( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
144 TDEAction *open( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
146 TDERecentFilesAction *openRecent( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
148 TDEAction *save( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
150 TDEAction *saveAs( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
152 TDEAction *revert( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
154 TDEAction *print( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
156 TDEAction *printPreview( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
158 TDEAction *close( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
160 TDEAction *mail( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
162 TDEAction *quit( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
164 TDEAction *undo( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
166 TDEAction *redo( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
168 TDEAction *cut( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
170 TDEAction *copy( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
172 TDEAction *paste( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
174 TDEAction *pasteText( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
176 TDEAction *clear( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
178 TDEAction *selectAll( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
180 TDEAction *deselect( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
182 TDEAction *find( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
184 TDEAction *findNext( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
186 TDEAction *findPrev( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
188 TDEAction *replace( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
190 TDEAction *actualSize( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
192 TDEAction *fitToPage( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
194 TDEAction *fitToWidth( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
196 TDEAction *fitToHeight( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
198 TDEAction *zoomIn( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
200 TDEAction *zoomOut( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
202 TDEAction *zoom( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
204 TDEAction *redisplay( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
206 TDEAction *up( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
208 TDEAction *back( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
210 TDEAction *forward( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
212 TDEAction *home( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
214 TDEAction *prior( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
216 TDEAction *next( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
218 TDEAction *goTo( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
220 TDEAction *gotoPage( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
222 TDEAction *gotoLine( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
224 TDEAction *firstPage( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
226 TDEAction *lastPage( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
228 TDEAction *addBookmark( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
230 TDEAction *editBookmarks( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
232 TDEAction *spelling( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
235 TDEToggleAction *showMenubar( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *_name )
238 ret = new TDEToggleAction(i18n("Show &Menubar"), "showmenu", TDEStdAccel::shortcut(TDEStdAccel::ShowMenubar), recvr, slot,
244 "Hide the menubar. You can usually get it back using the right mouse button inside the window itself." ) );
251 TDEToggleAction *showToolbar( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *_name )
262 TDEToggleToolBarAction *showToolbar( const char* toolBarName, TDEActionCollection* parent, const char *_name )
277 "Shows the statusbar, which is the bar at the bottom of the window used for status information." ) );
280 "Hides the statusbar, which is the bar at the bottom of the window used for status information." ) );
287 TDEToggleFullScreenAction *fullScreen( const TQObject *recvr, const char *slot, TDEActionCollection* parent,
291 ret = static_cast< TDEToggleFullScreenAction* >( KStdAction::create( FullScreen, name, recvr, slot, parent ));
296 TDEAction *saveOptions( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
298 TDEAction *keyBindings( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
300 TDEAction *preferences( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
302 TDEAction *configureToolbars( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
304 TDEAction *configureNotifications( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
306 TDEAction *help( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
308 TDEAction *helpContents( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
310 TDEAction *whatsThis( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
312 TDEAction *tipOfDay( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
314 TDEAction *reportBug( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
316 TDEAction *switchApplicationLanguage( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
318 TDEAction *aboutApp( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
320 TDEAction *aboutKDE( const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name )
TQString programName() const
virtual void setWhatsThis(const TQString &text)
Sets the What's this text for the action.
Definition: tdeaction.cpp:1011
static TDEInstance * instance()
const TDEAboutData * aboutData() const
void setCheckedState(const KGuiItem &checkedItem)
Defines the text (and icon, tooltip, whatsthis) that should be displayed instead of the normal text,...
Definition: tdeactionclasses.cpp:259
An action for switching between to/from full screen mode.
Definition: tdeactionclasses.h:1265
void setWindow(TQWidget *window)
Sets the window that will be related to this action.
Definition: tdeactionclasses.cpp:2080
An action that takes care of everything associated with showing or hiding a toolbar by a menu action.
Definition: tdeactionclasses.h:1218
kndbgstream & endl(kndbgstream &s)
kdbgstream kdDebug(int area=0)
TDEAction * goTo(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Go to somewhere in general.
Definition: kstdaction.cpp:218
TDEAction * close(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Close the current document.
Definition: kstdaction.cpp:158
TDEAction * selectAll(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Select all elements in the current document.
Definition: kstdaction.cpp:178
TDEAction * deselect(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Deselect any selected elements in the current document.
Definition: kstdaction.cpp:180
TDEAction * addBookmark(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Add the current page to the bookmarks tree.
Definition: kstdaction.cpp:228
TDEAction * next(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Scroll down one page.
Definition: kstdaction.cpp:216
TDEAction * save(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Save the current document.
Definition: kstdaction.cpp:148
TDEAction * zoom(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Popup a zoom dialog.
Definition: kstdaction.cpp:202
TDEAction * back(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Move back (web style menu).
Definition: kstdaction.cpp:208
TDEAction * whatsThis(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Trigger the What's This cursor.
Definition: kstdaction.cpp:310
TDERecentFilesAction * openRecent(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Open a recently used document.
Definition: kstdaction.cpp:146
TDEAction * paste(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Paste the contents of clipboard at the current mouse or cursor position.
Definition: kstdaction.cpp:172
TDEAction * actualSize(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
View the document at its actual size.
Definition: kstdaction.cpp:190
TDEAction * gotoLine(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Go to a specific line (dialog).
Definition: kstdaction.cpp:222
TDEAction * spelling(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Pop up the spell checker.
Definition: kstdaction.cpp:232
TDEAction * aboutKDE(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the About KDE dialog.
Definition: kstdaction.cpp:320
TDEToggleAction * showToolbar(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *_name)
Definition: kstdaction.cpp:251
TDEAction * undo(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Undo the last operation.
Definition: kstdaction.cpp:164
TDEAction * preferences(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the preferences/options dialog.
Definition: kstdaction.cpp:300
TDEAction * fitToWidth(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Fit the document view to the width of the current window.
Definition: kstdaction.cpp:194
TDEAction * redo(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Redo the last operation.
Definition: kstdaction.cpp:166
TDEAction * prior(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Scroll up one page.
Definition: kstdaction.cpp:214
TDEAction * configureToolbars(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
The Customize Toolbar dialog.
Definition: kstdaction.cpp:302
TDEAction * editBookmarks(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Edit the application bookmarks.
Definition: kstdaction.cpp:230
TDEAction * lastPage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Jump to the last page.
Definition: kstdaction.cpp:226
TDEAction * gotoPage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Go to a specific page (dialog).
Definition: kstdaction.cpp:220
TDEAction * tipOfDay(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display "Tip of the Day".
Definition: kstdaction.cpp:312
TDEAction * mail(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Mail this document.
Definition: kstdaction.cpp:160
TDEAction * cut(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Cut selected area and store it in the clipboard.
Definition: kstdaction.cpp:168
TDEAction * configureNotifications(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
The Configure Notifications dialog.
Definition: kstdaction.cpp:304
TDEAction * open(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Open an existing file.
Definition: kstdaction.cpp:144
TDEAction * revert(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Revert the current document to the last saved version (essentially will undo all changes).
Definition: kstdaction.cpp:152
TDEAction * findPrev(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Find a previous instance of a stored 'find'.
Definition: kstdaction.cpp:186
TDEAction * home(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Go to the "Home" position or document.
Definition: kstdaction.cpp:212
TDEAction * helpContents(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the help contents.
Definition: kstdaction.cpp:308
TDEAction * firstPage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Jump to the first page.
Definition: kstdaction.cpp:224
TDEAction * redisplay(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Redisplay or redraw the document.
Definition: kstdaction.cpp:204
TDEAction * quit(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Quit the program.
Definition: kstdaction.cpp:162
TDEAction * saveOptions(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the save options dialog.
Definition: kstdaction.cpp:296
TDEAction * zoomOut(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Zoom out.
Definition: kstdaction.cpp:200
TDEToggleAction * showStatusbar(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *_name)
Show/Hide the statusbar.
Definition: kstdaction.cpp:270
TDEAction * replace(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Find and replace matches.
Definition: kstdaction.cpp:188
TDEAction * findNext(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Find the next instance of a stored 'find'.
Definition: kstdaction.cpp:184
TDEAction * help(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the help.
Definition: kstdaction.cpp:306
TDEAction * pasteText(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Paste the contents of clipboard at the current mouse or cursor position.
Definition: kstdaction.cpp:174
TDEAction * switchApplicationLanguage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display "Switch application language" dialog.
Definition: kstdaction.cpp:316
TDEAction * zoomIn(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Zoom in.
Definition: kstdaction.cpp:198
TDEAction * aboutApp(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the application's About box.
Definition: kstdaction.cpp:318
TDEAction * reportBug(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Open up the Report Bug dialog.
Definition: kstdaction.cpp:314
TDEAction * printPreview(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Show a print preview of the current document.
Definition: kstdaction.cpp:156
TDEAction * find(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Initiate a 'find' request in the current document.
Definition: kstdaction.cpp:182
TDEAction * openNew(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Create a new document or window.
Definition: kstdaction.cpp:142
TDEAction * up(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Move up (web style menu).
Definition: kstdaction.cpp:206
TDEAction * forward(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Move forward (web style menu).
Definition: kstdaction.cpp:210
TDEAction * clear(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Clear the content of the focus widget.
Definition: kstdaction.cpp:176
TDEAction * saveAs(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Save the current document under a different name.
Definition: kstdaction.cpp:150
TDEToggleFullScreenAction * fullScreen(const TQObject *recvr, const char *slot, TDEActionCollection *parent, TQWidget *window, const char *name)
Switch to/from full screen mode.
Definition: kstdaction.cpp:287
TDEAction * copy(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Copy the selected area into the clipboard.
Definition: kstdaction.cpp:170
TDEAction * print(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Print the current document.
Definition: kstdaction.cpp:154
TDEToggleAction * showMenubar(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *_name)
Show/Hide the menubar.
Definition: kstdaction.cpp:235
TDEAction * fitToPage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Fit the document view to the size of the current window.
Definition: kstdaction.cpp:192
TDEAction * fitToHeight(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Fit the document view to the height of the current window.
Definition: kstdaction.cpp:196
TDEAction * create(StdAction id, const char *name, const TQObject *recvr, const char *slot, TDEActionCollection *parent)
Creates an action corresponding to the KStdAction::StdAction enum.
Definition: kstdaction.cpp:43
const char * name(StdAction id)
This will return the internal name of a given standard action.
Definition: kstdaction.cpp:136
TDEAction * keyBindings(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the configure key bindings dialog.
Definition: kstdaction.cpp:298
const TDEShortcut & shortcut(StdAccel id)