diff options
Diffstat (limited to 'lilo-config/kde-qt-common/ui.h')
-rw-r--r-- | lilo-config/kde-qt-common/ui.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lilo-config/kde-qt-common/ui.h b/lilo-config/kde-qt-common/ui.h index 9df62ae..6f65124 100644 --- a/lilo-config/kde-qt-common/ui.h +++ b/lilo-config/kde-qt-common/ui.h @@ -39,14 +39,14 @@ #include <kdialog.h> #include <kfiledialog.h> #define _(x) i18n(x) -#define WarningYesNo(tqparent, caption, text) \ - KMessageBox::warningYesNo(tqparent, text, caption) -#define ErrorOK(tqparent, caption, text) \ - KMessageBox::sorry(tqparent, text, caption) -#define InformationOK(tqparent, text, caption, dontShowAgainName) \ - KMessageBox::information(tqparent, text, caption, dontShowAgainName) -#define CriticalErrorOK(tqparent, text, caption) \ - KMessageBox::error(tqparent, text, caption) +#define WarningYesNo(parent, caption, text) \ + KMessageBox::warningYesNo(parent, text, caption) +#define ErrorOK(parent, caption, text) \ + KMessageBox::sorry(parent, text, caption) +#define InformationOK(parent, text, caption, dontShowAgainName) \ + KMessageBox::information(parent, text, caption, dontShowAgainName) +#define CriticalErrorOK(parent, text, caption) \ + KMessageBox::error(parent, text, caption) #define TabBar KTabCtl #define FileDlg KFileDialog #define SPACE_MARGIN KDialog::marginHint() @@ -57,14 +57,14 @@ #include <tqdialog.h> #include <tqfiledialog.h> #define _(x) tr(x) -#define WarningYesNo(tqparent, caption, text) \ - TQMessageBox::warning(tqparent, caption, text, TQMessageBox::Yes, TQMessageBox::No) -#define ErrorOK(tqparent, caption, text) \ - TQMessageBox::information(tqparent, caption, text) -#define InformationOK(tqparent, text, caption, dontShowAgainName) \ - TQMessageBox::information(tqparent, caption, text) -#define CriticalErrorOK(tqparent, text, caption) \ - TQMessageBox::critical(tqparent, caption, text) +#define WarningYesNo(parent, caption, text) \ + TQMessageBox::warning(parent, caption, text, TQMessageBox::Yes, TQMessageBox::No) +#define ErrorOK(parent, caption, text) \ + TQMessageBox::information(parent, caption, text) +#define InformationOK(parent, text, caption, dontShowAgainName) \ + TQMessageBox::information(parent, caption, text) +#define CriticalErrorOK(parent, text, caption) \ + TQMessageBox::critical(parent, caption, text) #define TabBar TQTabWidget #define FileDlg TQFileDialog #define SPACE_MARGIN 5 |