Diffstat (limited to 'microkde/kdeui/kstdaction.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kdeui/kstdaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kdeui/kstdaction.cpp b/microkde/kdeui/kstdaction.cpp index cfd7b54..f0d162d 100644 --- a/microkde/kdeui/kstdaction.cpp +++ b/microkde/kdeui/kstdaction.cpp | |||
@@ -1,54 +1,54 @@ | |||
1 | /* This file is part of the KDE libraries | 1 | /* This file is part of the KDE libraries |
2 | Copyright (C) 1999,2000 Kurt Granroth <granroth@kde.org> | 2 | Copyright (C) 1999,2000 Kurt Granroth <granroth@kde.org> |
3 | 3 | ||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Library General Public | 5 | modify it under the terms of the GNU Library General Public |
6 | License version 2 as published by the Free Software Foundation. | 6 | License version 2 as published by the Free Software Foundation. |
7 | 7 | ||
8 | This library is distributed in the hope that it will be useful, | 8 | This library is distributed in the hope that it will be useful, |
9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
11 | Library General Public License for more details. | 11 | Library General Public License for more details. |
12 | 12 | ||
13 | You should have received a copy of the GNU Library General Public License | 13 | You should have received a copy of the GNU Library General Public License |
14 | along with this library; see the file COPYING.LIB. If not, write to | 14 | along with this library; see the file COPYING.LIB. If not, write to |
15 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 15 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
16 | Boston, MA 02111-1307, USA. | 16 | Boston, MA 02111-1307, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include "kstdaction.h" | 19 | #include "kstdaction.h" |
20 | 20 | ||
21 | #include <qtoolbutton.h> | 21 | #include <qtoolbutton.h> |
22 | #include <qwhatsthis.h> | 22 | #include <q3whatsthis.h> |
23 | 23 | ||
24 | //US #include <kaboutdata.h> | 24 | //US #include <kaboutdata.h> |
25 | #include <kaction.h> | 25 | #include <kaction.h> |
26 | #include <kapplication.h> | 26 | #include <kapplication.h> |
27 | #include <kdebug.h> | 27 | #include <kdebug.h> |
28 | #include <kglobal.h> | 28 | #include <kglobal.h> |
29 | #include <kiconloader.h> | 29 | #include <kiconloader.h> |
30 | #include <klocale.h> | 30 | #include <klocale.h> |
31 | //US #include <kstdaccel.h> | 31 | //US #include <kstdaccel.h> |
32 | //US #include <kmainwindow.h> | 32 | //US #include <kmainwindow.h> |
33 | 33 | ||
34 | namespace KStdAction | 34 | namespace KStdAction |
35 | { | 35 | { |
36 | 36 | ||
37 | struct KStdActionInfo | 37 | struct KStdActionInfo |
38 | { | 38 | { |
39 | StdAction id; | 39 | StdAction id; |
40 | /*USKStdAccel::StdAccel idAccel;*/ | 40 | /*USKStdAccel::StdAccel idAccel;*/ |
41 | const char* psName; | 41 | const char* psName; |
42 | const char* psLabel; | 42 | const char* psLabel; |
43 | const char* psWhatsThis; | 43 | const char* psWhatsThis; |
44 | const char* psIconName; | 44 | const char* psIconName; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | const KStdActionInfo g_rgActionInfo[] = | 47 | const KStdActionInfo g_rgActionInfo[] = |
48 | { | 48 | { |
49 | { New, /*USKStdAccel::New,*/ "file_new", I18N_NOOP("&New"), 0, "filenew" }, | 49 | { New, /*USKStdAccel::New,*/ "file_new", I18N_NOOP("&New"), 0, "filenew" }, |
50 | { Open, /*USKStdAccel::Open,*/ "file_open", I18N_NOOP("&Open..."), 0, "fileopen" }, | 50 | { Open, /*USKStdAccel::Open,*/ "file_open", I18N_NOOP("&Open..."), 0, "fileopen" }, |
51 | { OpenRecent, /*USKStdAccel::AccelNone,*/ "file_open_recent", I18N_NOOP("Open &Recent"), 0, 0 }, | 51 | { OpenRecent, /*USKStdAccel::AccelNone,*/ "file_open_recent", I18N_NOOP("Open &Recent"), 0, 0 }, |
52 | { Save, /*USKStdAccel::Save,*/ "file_save", I18N_NOOP("&Save"), 0, "filesave" }, | 52 | { Save, /*USKStdAccel::Save,*/ "file_save", I18N_NOOP("&Save"), 0, "filesave" }, |
53 | { SaveAs, /*USKStdAccel::AccelNone,*/ "file_save_as", I18N_NOOP("Save &As..."), 0, "filesaveas" }, | 53 | { SaveAs, /*USKStdAccel::AccelNone,*/ "file_save_as", I18N_NOOP("Save &As..."), 0, "filesaveas" }, |
54 | { Revert, /*USKStdAccel::AccelNone,*/ "file_revert", I18N_NOOP("Re&vert"), 0, "revert" }, | 54 | { Revert, /*USKStdAccel::AccelNone,*/ "file_revert", I18N_NOOP("Re&vert"), 0, "revert" }, |