Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 0ad22fde32
commit 2570c69db3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -77,16 +77,7 @@
#define ACCEL_KEY(k) "\t" + TQString(TQKeySequence( TQt::CTRL | TQt::Key_ ## k ))
#endif
// FIXME: #warning "This hack is temporary...later remove it"
#ifndef TQT_CLEAN_NAMESPACE
#define TQT_CLEAN_NAMESPACE
#include <tqcursor.h>
#undef TQT_CLEAN_NAMESPACE
#else
#include <tqcursor.h>
#endif
#include <tqcursor.h>
//This comes from kvi_app.cpp
extern KviColorWindow * g_pColorWindow;

@ -126,14 +126,7 @@
// FIXME: #warning "There are problems with the selection and wrapped lines: you can select something on the first line and get the second highlighted"
// FIXME: #warning "This hack is temporary...later remove it"
#ifndef TQT_CLEAN_NAMESPACE
#define TQT_CLEAN_NAMESPACE
#include <tqcursor.h>
#undef TQT_CLEAN_NAMESPACE
#else
#include <tqcursor.h>
#endif
#include <tqcursor.h>
#include <tqclipboard.h>
#include <tqdatetime.h>
#include <tqmessagebox.h>

Loading…
Cancel
Save