kdeui
kstdguiitem.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 __kstdguiitem_h
00020 #define __kstdguiitem_h
00021
00022
00023 #include <kguiitem.h>
00024
00025 #include <qstring.h>
00026 #include <qpair.h>
00027
00037 class KDEUI_EXPORT KStdGuiItem
00038 {
00039 public:
00045 enum BidiMode { UseRTL = 0, IgnoreRTL };
00046
00047 enum StdItem
00048 {
00049 Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs,
00050 Apply, Clear, Help, Defaults, Close, Back, Forward, Print,
00051 Continue, Open, Quit, AdminMode, Reset, Delete, Insert,
00052 Configure,
00053 Find,
00054 Stop,
00055 Add,
00056 Remove,
00057 Test,
00058 Properties,
00059 Overwrite
00060 };
00061 static KGuiItem guiItem ( StdItem ui_enum );
00062 static QString stdItem ( StdItem ui_enum );
00063 static KGuiItem ok();
00064 static KGuiItem cancel();
00065 static KGuiItem yes();
00066 static KGuiItem no();
00067 static KGuiItem insert();
00068 static KGuiItem discard();
00069 static KGuiItem save();
00070 static KGuiItem help();
00071 static KGuiItem dontSave();
00072 static KGuiItem saveAs();
00073 static KGuiItem apply();
00074 static KGuiItem clear();
00075 static KGuiItem defaults();
00076 static KGuiItem close();
00077 static KGuiItem print();
00081 static KGuiItem properties();
00082 static KGuiItem reset();
00086 static KGuiItem overwrite();
00091 static KGuiItem adminMode();
00092
00097 static KGuiItem cont();
00098
00104 static KGuiItem del();
00105
00106 static KGuiItem open();
00107
00118 static KGuiItem back( BidiMode useBidi = IgnoreRTL );
00119
00130 static KGuiItem forward( BidiMode useBidi = IgnoreRTL );
00131
00136 static KGuiItem configure();
00137
00144 static QPair<KGuiItem, KGuiItem> backAndForward();
00145
00146 static KGuiItem quit();
00147
00152 static KGuiItem find();
00153
00158 static KGuiItem stop();
00159
00164 static KGuiItem add();
00165
00170 static KGuiItem remove();
00171
00176 static KGuiItem test();
00177
00178 };
00179
00180 #endif
00181
00182
00183