diff options
Diffstat (limited to 'lilo-config/kde-qt-common/ui.h')
-rw-r--r-- | lilo-config/kde-qt-common/ui.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lilo-config/kde-qt-common/ui.h b/lilo-config/kde-qt-common/ui.h index 4454bde..9df62ae 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(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 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 TabBar KTabCtl #define FileDlg KFileDialog #define SPACE_MARGIN KDialog::marginHint() @@ -57,16 +57,16 @@ #include <tqdialog.h> #include <tqfiledialog.h> #define _(x) tr(x) -#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 QTabWidget -#define FileDlg QFileDialog +#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 TabBar TQTabWidget +#define FileDlg TQFileDialog #define SPACE_MARGIN 5 #define SPACE_INSIDE 5 #endif |