From: Abdelrazak Younes Date: Mon, 10 Jul 2006 17:44:36 +0000 (+0000) Subject: delete some Qt "signals" macro reference. X-Git-Tag: 1.6.10~12958 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c07d5e9dd0f20efea0cd614859506c063ac16bfa;p=features.git delete some Qt "signals" macro reference. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14414 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/Dialogs.C b/src/frontends/qt4/Dialogs.C index cf29565e14..4ae2befb64 100644 --- a/src/frontends/qt4/Dialogs.C +++ b/src/frontends/qt4/Dialogs.C @@ -58,10 +58,6 @@ #include "QERT.h" #include "QExternal.h" #include "QFloat.h" -// Here would be an appropriate point to lecture on the evils -// of the Qt headers, those most fucked up of disgusting ratholes. -// But I won't. -#undef signals #include "QGraphics.h" #include "QInclude.h" #include "QIndex.h" diff --git a/src/frontends/qt4/QBrowseBox.h b/src/frontends/qt4/QBrowseBox.h index 3a11664dec..7bd099f96d 100644 --- a/src/frontends/qt4/QBrowseBox.h +++ b/src/frontends/qt4/QBrowseBox.h @@ -39,7 +39,7 @@ public: int exec(int x, int y); int exec(const QWidget * trigger); -signals: +Q_SIGNALS: void selected(int, int); protected: diff --git a/src/frontends/qt4/pch.h b/src/frontends/qt4/pch.h index afbf65ea26..dfa99ac414 100644 --- a/src/frontends/qt4/pch.h +++ b/src/frontends/qt4/pch.h @@ -21,16 +21,3 @@ #include #include #include - -// Have I said anything about the braindeadness of QT lately? -// Just to remind you: signals slot emit as macros, pure lunacy! -// So we are not able to have any qt headers in the pch. - -// #include - -// #define qtsignal signal -// #define qtsignals signals -// #define qtemit emit -// #undef signal -// #undef signals -// #undef emit