KDEUI
kstandardguiitem.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef kstandardguiitem_h
00020 #define kstandardguiitem_h
00021
00022 #include <kdeui_export.h>
00023
00024 #include <QtCore/QPair>
00025
00026 #include <kguiitem.h>
00027
00028 class QString;
00029
00039 namespace KStandardGuiItem
00040 {
00046 enum BidiMode { UseRTL = 0, IgnoreRTL };
00047
00048 enum StandardItem
00049 {
00050 Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear,
00051 Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit,
00052 AdminMode, Reset, Delete, Insert, Configure, Find, Stop, Add, Remove,
00053 Test, Properties, Overwrite, CloseWindow, CloseDocument
00054 };
00055
00061 KDEUI_EXPORT KGuiItem guiItem( StandardItem id );
00062
00068 KDEUI_EXPORT QString standardItem( StandardItem id );
00069
00073 KDEUI_EXPORT KGuiItem ok();
00074
00078 KDEUI_EXPORT KGuiItem cancel();
00079
00083 KDEUI_EXPORT KGuiItem yes();
00084
00088 KDEUI_EXPORT KGuiItem no();
00089
00093 KDEUI_EXPORT KGuiItem insert();
00094
00098 KDEUI_EXPORT KGuiItem discard();
00099
00103 KDEUI_EXPORT KGuiItem save();
00104
00108 KDEUI_EXPORT KGuiItem help();
00109
00113 KDEUI_EXPORT KGuiItem dontSave();
00114
00118 KDEUI_EXPORT KGuiItem saveAs();
00119
00123 KDEUI_EXPORT KGuiItem apply();
00124
00128 KDEUI_EXPORT KGuiItem clear();
00129
00133 KDEUI_EXPORT KGuiItem defaults();
00134
00138 KDEUI_EXPORT KGuiItem close();
00139
00144 KDEUI_EXPORT KGuiItem closeWindow();
00145
00150 KDEUI_EXPORT KGuiItem closeDocument();
00151
00155 KDEUI_EXPORT KGuiItem print();
00156
00160 KDEUI_EXPORT KGuiItem properties();
00161
00165 KDEUI_EXPORT KGuiItem reset();
00166
00170 KDEUI_EXPORT KGuiItem overwrite();
00171
00176 KDEUI_EXPORT KGuiItem adminMode();
00177
00182 KDEUI_EXPORT KGuiItem cont();
00183
00188 KDEUI_EXPORT KGuiItem del();
00189
00193 KDEUI_EXPORT KGuiItem open();
00194
00205 KDEUI_EXPORT KGuiItem back( BidiMode useBidi = IgnoreRTL );
00206
00217 KDEUI_EXPORT KGuiItem forward( BidiMode useBidi = IgnoreRTL );
00218
00222 KDEUI_EXPORT KGuiItem configure();
00223
00230 KDEUI_EXPORT QPair<KGuiItem, KGuiItem> backAndForward();
00231
00235 KDEUI_EXPORT KGuiItem quit();
00236
00240 KDEUI_EXPORT KGuiItem find();
00241
00245 KDEUI_EXPORT KGuiItem stop();
00246
00250 KDEUI_EXPORT KGuiItem add();
00251
00255 KDEUI_EXPORT KGuiItem remove();
00256
00260 KDEUI_EXPORT KGuiItem test();
00261
00262 }
00263
00264 #endif