Changes work with Qt 3.0 (basically just use obsoleted QTableView class

until I get around to replacing it properly).
This commit is contained in:
warwick
2002-01-17 04:10:23 +00:00
parent 912b4a8d94
commit f86ab80cfb
5 changed files with 2548 additions and 3 deletions

View File

@@ -51,6 +51,8 @@ extern "C" {
// enough, and we undefine NetHack macros which conflict with Qt
// identifiers.
#define alloc hide_alloc // avoid treading on STL symbol
#define lock hide_lock // avoid treading on STL symbol
#ifdef _MSC_VER
#define NHSTDC
#endif
@@ -68,10 +70,13 @@ extern "C" {
#undef FALSE
#undef min
#undef max
#undef alloc
#undef lock
}
#include "qt_win.h"
#include <qregexp.h>
#include <qpainter.h>
#include <qdir.h>
#include <qbitmap.h>
@@ -5099,3 +5104,6 @@ extern "C" void play_usersound(const char* filename, int volume)
#ifndef KDE
#include "qt_kde0.moc"
#endif
#if QT_VERSION >= 300
#include "qttableview.moc"
#endif