]> git.lyx.org Git - features.git/commitdiff
delete some Qt "signals" macro reference.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 10 Jul 2006 17:44:36 +0000 (17:44 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 10 Jul 2006 17:44:36 +0000 (17:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14414 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Dialogs.C
src/frontends/qt4/QBrowseBox.h
src/frontends/qt4/pch.h

index cf29565e140f97e47afd2890f8dff20cca36c59a..4ae2befb641bc12bf7af250a4112fcd988b66233 100644 (file)
 #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"
index 3a11664dec460c4c0dff0d931f1748c91d98e4dd..7bd099f96d431c922cca96baa60a44f239935a5f 100644 (file)
@@ -39,7 +39,7 @@ public:
        int exec(int x, int y);
        int exec(const QWidget * trigger);
 
-signals:
+Q_SIGNALS:
        void selected(int, int);
 
 protected:
index afbf65ea263a81509672d4fa83dfac9c19bdd599..dfa99ac414d6ec7c4b810c074478345233d07dd5 100644 (file)
 #include <string>
 #include <utility>
 #include <vector>
-
-// 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 <qt.h>
-
-// #define qtsignal signal
-// #define qtsignals signals
-// #define qtemit emit
-// #undef signal
-// #undef signals
-// #undef emit