You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
442 lines
7.9 KiB
442 lines
7.9 KiB
//
|
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
|
// may also apply
|
|
|
|
|
|
// Generated by preSip
|
|
// module tdecore version KDE 3.5.3
|
|
|
|
|
|
// This software is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License as
|
|
// published by the Free Software Foundation; either version 2 of
|
|
// the License, or (at your option) any later version.
|
|
//
|
|
// This software is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public
|
|
// License along with this library; see the file COPYING.
|
|
// If not, write to the Free Software Foundation, Inc.,
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
%ModuleHeaderCode
|
|
#include <tdestdaccel.h>
|
|
%End
|
|
|
|
namespace TDEStdAccel
|
|
{
|
|
|
|
%If ( KDE_3_4_0 - )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
TabNext,
|
|
TabPrev,
|
|
FullScreen,
|
|
BackwardWord,
|
|
ForwardWord,
|
|
BeginningOfLine,
|
|
EndOfLine,
|
|
PasteSelection,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
const TDEShortcut& shortcut (TDEStdAccel::StdAccel);
|
|
TQString name (TDEStdAccel::StdAccel);
|
|
TQString label (TDEStdAccel::StdAccel);
|
|
TQString whatsThis (TDEStdAccel::StdAccel);
|
|
TDEStdAccel::StdAccel findStdAccel (const KKeySequence&);
|
|
TDEShortcut shortcutDefault (TDEStdAccel::StdAccel);
|
|
TDEShortcut shortcutDefault3 (TDEStdAccel::StdAccel);
|
|
TDEShortcut shortcutDefault4 (TDEStdAccel::StdAccel);
|
|
const TDEShortcut& open ();
|
|
const TDEShortcut& openNew ();
|
|
const TDEShortcut& close ();
|
|
const TDEShortcut& save ();
|
|
const TDEShortcut& print () /PyName=print_/;
|
|
const TDEShortcut& quit ();
|
|
const TDEShortcut& undo ();
|
|
const TDEShortcut& redo ();
|
|
const TDEShortcut& cut ();
|
|
const TDEShortcut& copy ();
|
|
const TDEShortcut& paste ();
|
|
|
|
%If ( KDE_3_4_0 - )
|
|
const TDEShortcut& pasteSelection ();
|
|
%End
|
|
|
|
const TDEShortcut& selectAll ();
|
|
const TDEShortcut& deleteWordBack ();
|
|
const TDEShortcut& deleteWordForward ();
|
|
const TDEShortcut& find ();
|
|
const TDEShortcut& findNext ();
|
|
const TDEShortcut& findPrev ();
|
|
const TDEShortcut& replace ();
|
|
const TDEShortcut& zoomIn ();
|
|
const TDEShortcut& zoomOut ();
|
|
//ig const TDEShortcut& insert ();
|
|
const TDEShortcut& home ();
|
|
const TDEShortcut& end ();
|
|
|
|
%If ( KDE_3_3_0 - )
|
|
const TDEShortcut& beginningOfLine ();
|
|
const TDEShortcut& endOfLine ();
|
|
%End
|
|
|
|
const TDEShortcut& prior ();
|
|
const TDEShortcut& next ();
|
|
const TDEShortcut& gotoLine ();
|
|
const TDEShortcut& addBookmark ();
|
|
|
|
%If ( KDE_3_2_0 - )
|
|
const TDEShortcut& tabNext ();
|
|
const TDEShortcut& tabPrev ();
|
|
const TDEShortcut& fullScreen ();
|
|
%End
|
|
|
|
const TDEShortcut& help ();
|
|
const TDEShortcut& completion ();
|
|
const TDEShortcut& prevCompletion ();
|
|
const TDEShortcut& nextCompletion ();
|
|
const TDEShortcut& substringCompletion ();
|
|
const TDEShortcut& rotateUp ();
|
|
const TDEShortcut& rotateDown ();
|
|
const TDEShortcut& popupMenuContext ();
|
|
const TDEShortcut& whatsThis ();
|
|
const TDEShortcut& reload ();
|
|
const TDEShortcut& up ();
|
|
const TDEShortcut& back ();
|
|
const TDEShortcut& forward ();
|
|
|
|
%If ( KDE_3_3_0 - )
|
|
const TDEShortcut& backwardWord ();
|
|
const TDEShortcut& forwardWord ();
|
|
%End
|
|
|
|
const TDEShortcut& showMenubar ();
|
|
TQString action (TDEStdAccel::StdAccel);
|
|
TQString description (TDEStdAccel::StdAccel);
|
|
int key (TDEStdAccel::StdAccel);
|
|
int defaultKey (TDEStdAccel::StdAccel);
|
|
bool isEqual (const TQKeyEvent*, int);
|
|
|
|
%If ( KDE_3_3_0 - KDE_3_4_0 )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
TabNext,
|
|
TabPrev,
|
|
FullScreen,
|
|
BackwardWord,
|
|
ForwardWord,
|
|
BeginningOfLine,
|
|
EndOfLine,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
|
|
%If ( KDE_3_2_0 - KDE_3_3_0 )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
TabNext,
|
|
TabPrev,
|
|
FullScreen,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
|
|
%If ( KDE_3_1_3 - KDE_3_2_0 )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
|
|
%If ( KDE_3_1_2 - KDE_3_1_3 )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
|
|
%If ( - KDE_3_1_2 )
|
|
|
|
enum StdAccel
|
|
{
|
|
AccelNone,
|
|
Open,
|
|
New,
|
|
Close,
|
|
Save,
|
|
Print,
|
|
Quit,
|
|
Undo,
|
|
Redo,
|
|
Cut,
|
|
Copy,
|
|
Paste,
|
|
SelectAll,
|
|
Deselect,
|
|
DeleteWordBack,
|
|
DeleteWordForward,
|
|
Find,
|
|
FindNext,
|
|
FindPrev,
|
|
Replace,
|
|
Home,
|
|
End,
|
|
Prior,
|
|
Next,
|
|
GotoLine,
|
|
AddBookmark,
|
|
ZoomIn,
|
|
ZoomOut,
|
|
Up,
|
|
Back,
|
|
Forward,
|
|
Reload,
|
|
PopupMenuContext,
|
|
ShowMenubar,
|
|
Help,
|
|
WhatsThis,
|
|
TextCompletion,
|
|
PrevCompletion,
|
|
NextCompletion,
|
|
SubstringCompletion,
|
|
RotateUp,
|
|
RotateDown,
|
|
WhatThis
|
|
};
|
|
|
|
%End
|
|
|
|
}; // namespace TDEStdAccel
|
|
|