summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/ntqfiledialog.h4
-rw-r--r--src/dialogs/qcolordialog.cpp12
-rw-r--r--src/dialogs/qdialog.cpp8
-rw-r--r--src/dialogs/qfiledialog.cpp68
-rw-r--r--src/dialogs/qfontdialog.cpp6
-rw-r--r--src/dialogs/qmessagebox.cpp20
-rw-r--r--src/dialogs/qprintdialog.cpp2
-rw-r--r--src/dialogs/qprogressdialog.cpp2
8 files changed, 61 insertions, 61 deletions
diff --git a/src/dialogs/ntqfiledialog.h b/src/dialogs/ntqfiledialog.h
index a2eb6324e..be3cdf4ac 100644
--- a/src/dialogs/ntqfiledialog.h
+++ b/src/dialogs/ntqfiledialog.h
@@ -297,7 +297,7 @@ private:
TQPushButton *okB;
TQPushButton *cancelB;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
static TQString winGetOpenFileName( const TQString &initialSelection,
const TQString &filter,
TQString* workingDirectory,
@@ -324,7 +324,7 @@ private:
const TQString& caption = TQString::null);
static TQString resolveLinkFile( const TQString& linkfile );
#endif
-#if defined(Q_WS_MACX) || defined(Q_WS_MAC9)
+#if defined(TQ_WS_MACX) || defined(TQ_WS_MAC9)
static TQString macGetSaveFileName( const TQString &, const TQString &,
TQString *, TQWidget *, const char*,
const TQString&, TQString *);
diff --git a/src/dialogs/qcolordialog.cpp b/src/dialogs/qcolordialog.cpp
index addbd1bf8..df0424376 100644
--- a/src/dialogs/qcolordialog.cpp
+++ b/src/dialogs/qcolordialog.cpp
@@ -58,12 +58,12 @@
#include "ntqsettings.h"
#include "ntqpopupmenu.h"
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
TQRgb macGetRgba( TQRgb initial, bool *ok, TQWidget *parent, const char* name );
TQColor macGetColor( const TQColor& initial, TQWidget *parent, const char *name );
#endif
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "private/tqttdeintegration_x11_p.h"
#endif
@@ -1485,10 +1485,10 @@ TQColorDialog::TQColorDialog(TQWidget* parent, const char* name, bool modal) :
TQColor TQColorDialog::getColor( const TQColor& initial, TQWidget *parent,
const char *name )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if( TQTDEIntegration::enabled())
return TQTDEIntegration::getColor( initial, parent, name );
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
return macGetColor(initial, parent, name);
#endif
@@ -1525,14 +1525,14 @@ TQColor TQColorDialog::getColor( const TQColor& initial, TQWidget *parent,
TQRgb TQColorDialog::getRgba( TQRgb initial, bool *ok,
TQWidget *parent, const char* name )
{
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
if( TQTDEIntegration::enabled()) {
TQColor color = TQTDEIntegration::getColor( TQColor( initial ), parent, name );
if( ok )
*ok = color.isValid();
return color.rgba();
}
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
return macGetRgba(initial, ok, parent, name);
#endif
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp
index 7df3bbea9..f8067b545 100644
--- a/src/dialogs/qdialog.cpp
+++ b/src/dialogs/qdialog.cpp
@@ -671,14 +671,14 @@ bool TQDialog::event( TQEvent *e )
Geometry management.
*****************************************************************************/
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
extern "C" { int XSetTransientForHint( Display *, unsigned long, unsigned long ); }
#include <private/qt_x11_p.h>
#undef FocusIn
// defined in qapplication_x11.cpp
extern Atom qt_net_wm_full_placement;
extern bool qt_net_supports(Atom atom);
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
/*!
Shows the dialog as a \link #modeless modeless \endlink dialog.
@@ -710,14 +710,14 @@ void TQDialog::show()
if (windowState() != state)
setWindowState(state);
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if (!parentWidget() && testWFlags(WShowModal)
&& tqApp->mainWidget() && tqApp->mainWidget()->isVisible()
&& !tqApp->mainWidget()->isMinimized()) {
// make sure the transient for hint is set properly for modal dialogs
x11SetWindowTransient( tqApp->mainWidget());
}
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
#ifdef Q_OS_TEMP
hideSpecial();
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp
index 0d15babaa..987744d0f 100644
--- a/src/dialogs/qfiledialog.cpp
+++ b/src/dialogs/qfiledialog.cpp
@@ -95,15 +95,15 @@
#include "ntqvbox.h"
#include "ntqwidgetstack.h"
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "private/tqttdeintegration_x11_p.h"
#endif
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
#ifdef TQT_THREAD_SUPPORT
# include <private/qmutexpool_p.h>
#endif // TQT_THREAD_SUPPORT
-#endif // Q_WS_WIN
+#endif // TQ_WS_WIN
#if !defined(Q_OS_TEMP)
#include <time.h>
@@ -114,7 +114,7 @@
#include <limits.h>
#include <ctype.h>
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
#include "qt_mac.h"
extern TQString qt_mac_precomposeFileName(const TQString &); // qglobal.cpp
#undef check
@@ -516,7 +516,7 @@ static void updateLastSize( TQFileDialog *that )
// resolving the W methods manually is needed, because Windows 95 doesn't include
// these methods in Shell32.lib (not even stubs!), so you'd get an unresolved symbol
// when TQt calls getEsistingDirectory(), etc.
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
typedef UINT (WINAPI *PtrExtractIconEx)(LPCTSTR,int,HICON*,HICON*,UINT);
static PtrExtractIconEx ptrExtractIconEx = 0;
@@ -614,7 +614,7 @@ static void makeVariables() {
bShowHiddenFiles = FALSE;
sortFilesBy = (int)TQDir::Name;
detailViewMode = FALSE;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( !fileIconProvider )
fileIconProvider = new TQWindowsIconProvider( tqApp );
#endif
@@ -1076,7 +1076,7 @@ public:
TQString newStr;
TQCString cName = fName.utf8();
const TQCString sChars(
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
"#%"
#else
"<>#@\"&%$:,;?={}|^~[]\'`\\*"
@@ -1123,7 +1123,7 @@ public:
#ifndef Q_NO_CURSOR
bool cursorOverride; // Remember if the cursor was overridden or not.
#endif
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
int oldPermissionLookup;
#endif
};
@@ -2451,7 +2451,7 @@ TQFileDialog::TQFileDialog( const TQString& dirName, const TQString & filter,
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
extern int qt_ntfs_permission_lookup;
#endif
@@ -2479,7 +2479,7 @@ void TQFileDialog::init()
d->pendingItems.setAutoDelete( FALSE );
d->mimeTypeTimer = new TQTimer( this );
d->cursorOverride = FALSE;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
d->oldPermissionLookup = qt_ntfs_permission_lookup;
#endif
connect( d->mimeTypeTimer, TQ_SIGNAL( timeout() ),
@@ -2668,7 +2668,7 @@ void TQFileDialog::init()
d->modeButtons->insert( d->previewInfo );
d->previewContents = new TQToolButton( this, "preview info view" );
-#if defined(Q_WS_WIN) && !defined(Q_OS_TEMP)
+#if defined(TQ_WS_WIN) && !defined(Q_OS_TEMP)
if ( (qt_winver & WV_NT_based) > TQt::WV_NT )
#else
if ( !qstrcmp(style().className(), "TQWindowsStyle") )
@@ -3493,15 +3493,15 @@ TQString TQFileDialog::getOpenFileName( const TQString & startWith,
if ( workingDirectory->isNull() )
*workingDirectory = ::toRootIfNotExists( TQDir::currentDirPath() );
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name,
caption, selectedFilter, false ).first();
-#elif defined(Q_WS_WIN)
+#elif defined(TQ_WS_WIN)
if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle )
return winGetOpenFileName( initialSelection, filter, workingDirectory,
parent, name, caption, selectedFilter );
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
if (tqt_use_native_dialogs && (tqApp->style().inherits(TQMAC_DEFAULT_STYLE)
|| tqApp->style().inherits("TQMacStyle")))
return qt_mac_precomposeFileName(macGetOpenFileNames(filter,
@@ -3618,15 +3618,15 @@ TQString TQFileDialog::getSaveFileName( const TQString & startWith,
if ( workingDirectory->isNull() )
*workingDirectory = ::toRootIfNotExists( TQDir::currentDirPath() );
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::getSaveFileName( initialSelection, filter, workingDirectory,
parent, name, caption, selectedFilter );
-#elif defined(Q_WS_WIN)
+#elif defined(TQ_WS_WIN)
if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle )
return winGetSaveFileName( initialSelection, filter, workingDirectory,
parent, name, caption, selectedFilter );
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
if (tqt_use_native_dialogs && (tqApp->style().inherits(TQMAC_DEFAULT_STYLE)
|| tqApp->style().inherits("TQMacStyle")))
return qt_mac_precomposeFileName(macGetSaveFileName(initialSelection, filter,
@@ -3673,7 +3673,7 @@ void TQFileDialog::okClicked()
{
TQString fn( nameEdit->text() );
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
TQFileInfo fi( d->url.path() + fn );
if ( fi.isSymLink() ) {
nameEdit->setText( fi.readLink() );
@@ -4135,7 +4135,7 @@ void TQFileDialog::selectDirectoryOrFile( TQListViewItem * newItem )
if ( d->url.isLocalFile() ) {
TQFileInfo fi( d->url.path() + newItem->text(0) );
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( fi.isSymLink() ) {
nameEdit->setText( fi.readLink() );
okClicked();
@@ -4512,7 +4512,7 @@ TQString TQFileDialog::getExistingDirectory( const TQString & dir,
if ( workingDirectory )
wd = *workingDirectory;
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
TQString initialDir;
if ( !dir.isEmpty() ) {
TQUrlOperator u( dir );
@@ -4522,7 +4522,7 @@ TQString TQFileDialog::getExistingDirectory( const TQString & dir,
initialDir = TQString::null;
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::getExistingDirectory( initialDir, parent, name, caption );
-#elif defined(Q_WS_WIN)
+#elif defined(TQ_WS_WIN)
TQString initialDir;
if ( !dir.isEmpty() ) {
TQUrlOperator u( dir );
@@ -4533,7 +4533,7 @@ TQString TQFileDialog::getExistingDirectory( const TQString & dir,
if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle && dirOnly )
return winGetExistingDirectory( initialDir, parent, name, caption );
#endif
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
TQString *initialDir = 0;
if (!dir.isEmpty()) {
TQUrlOperator u(dir);
@@ -5056,7 +5056,7 @@ TQFileIconProvider * TQFileDialog::iconProvider()
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
// ### FIXME: this code is duplicated in qdns.cpp
static TQString getWindowsRegString( HKEY key, const TQString &subKey )
@@ -5449,7 +5449,7 @@ bool TQFileDialog::eventFilter( TQObject * o, TQEvent * e )
} else if ( o == nameEdit && e->type() == TQEvent::KeyPress && d->mode != AnyFile ) {
if ( ( nameEdit->cursorPosition() == (int)nameEdit->text().length() || nameEdit->hasSelectedText() ) &&
isprint(((TQKeyEvent *)e)->ascii()) ) {
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
TQString nt( nameEdit->text().lower() );
#else
TQString nt( nameEdit->text() );
@@ -5457,7 +5457,7 @@ bool TQFileDialog::eventFilter( TQObject * o, TQEvent * e )
nt.truncate( nameEdit->cursorPosition() );
nt += (char)(((TQKeyEvent *)e)->ascii());
TQListViewItem * i = files->firstChild();
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
while( i && i->text( 0 ).left(nt.length()).lower() != nt )
#else
while( i && i->text( 0 ).left(nt.length()) != nt )
@@ -5686,13 +5686,13 @@ TQStringList TQFileDialog::getOpenFileNames( const TQString & filter,
}
}
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter, true );
-#elif defined(Q_WS_WIN)
+#elif defined(TQ_WS_WIN)
if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle )
return winGetOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter );
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
if (tqt_use_native_dialogs && (tqApp->style().inherits(TQMAC_DEFAULT_STYLE)
|| tqApp->style().inherits("TQMacStyle"))) {
TQStringList sl = macGetOpenFileNames(filter, dir.isEmpty() ? 0 : workingDirectory, parent,
@@ -5793,7 +5793,7 @@ void TQFileDialog::urlStart( TQNetworkOperation *op )
if ( !op )
return;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
qt_ntfs_permission_lookup--;
#endif
if ( op->operation() == TQNetworkProtocol::OpListChildren ) {
@@ -5819,7 +5819,7 @@ void TQFileDialog::urlStart( TQNetworkOperation *op )
TQString s = d->url.toString( FALSE, FALSE );
bool found = FALSE;
for ( int i = 0; i < d->paths->count(); ++i ) {
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( d->paths->text( i ).lower() == s.lower() ) {
#else
if ( d->paths->text( i ) == s ) {
@@ -5886,7 +5886,7 @@ void TQFileDialog::urlFinished( TQNetworkOperation *op )
op == d->currListChildren ) {
if ( !d->hadDotDot && !isRoot( d->url ) ) {
bool ok = TRUE;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( d->url.path().left( 2 ) == "//" )
ok = FALSE;
#endif
@@ -5914,7 +5914,7 @@ void TQFileDialog::urlFinished( TQNetworkOperation *op )
d->progressDia = 0;
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if (d->oldPermissionLookup != qt_ntfs_permission_lookup)
qt_ntfs_permission_lookup++;
#endif
@@ -5975,14 +5975,14 @@ void TQFileDialog::insertEntry( const TQValueList<TQUrlInfo> &lst, TQNetworkOper
d->hadDotDot = TRUE;
if ( isRoot( d->url ) )
continue;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( d->url.path().left( 2 ) == "//" )
continue;
#endif
} else if ( inf.name() == "." )
continue;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
// Workaround a Windows bug, '..' is apparantly hidden in directories
// that are one level away from root
if ( !bShowHiddenFiles && inf.name() != ".." ) {
diff --git a/src/dialogs/qfontdialog.cpp b/src/dialogs/qfontdialog.cpp
index 3f713d9e0..d81c01476 100644
--- a/src/dialogs/qfontdialog.cpp
+++ b/src/dialogs/qfontdialog.cpp
@@ -59,7 +59,7 @@
#include <private/qfontdata_p.h>
#include <ntqvalidator.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "private/tqttdeintegration_x11_p.h"
#endif
@@ -396,7 +396,7 @@ extern bool tqt_use_native_dialogs;
TQFont TQFontDialog::getFont( bool *ok, const TQFont *def,
TQWidget *parent, const char* name)
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::getFont( ok, def, parent, name );
#endif
@@ -465,7 +465,7 @@ bool TQFontDialog::eventFilter( TQObject * o , TQEvent * e )
return TQDialog::eventFilter( o, e );
}
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
// #define SHOW_FONTS_IN_FAMILIES
#endif
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index a17fad136..929be411a 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -53,7 +53,7 @@
#include "ntqaccessible.h"
#endif
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "private/tqttdeintegration_x11_p.h"
#endif
@@ -949,7 +949,7 @@ void TQMessageBox::adjustSize()
w = screen.width();
resize( w, h );
setMinimumSize( size() );
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
setMaximumSize(size());
#endif
}
@@ -1112,7 +1112,7 @@ int TQMessageBox::information( TQWidget *parent,
const TQString& caption, const TQString& text,
int button0, int button1, int button2 )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::information( parent, caption, text, button0, button1, button2 );
#endif
@@ -1163,7 +1163,7 @@ int TQMessageBox::question( TQWidget *parent,
const TQString& caption, const TQString& text,
int button0, int button1, int button2 )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::question( parent, caption, text, button0, button1, button2 );
#endif
@@ -1215,7 +1215,7 @@ int TQMessageBox::warning( TQWidget *parent,
const TQString& caption, const TQString& text,
int button0, int button1, int button2 )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::warning( parent, caption, text, button0, button1, button2 );
#endif
@@ -1267,7 +1267,7 @@ int TQMessageBox::critical( TQWidget *parent,
const TQString& caption, const TQString& text,
int button0, int button1, int button2 )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::critical( parent, caption, text, button0, button1, button2 );
#endif
@@ -1418,7 +1418,7 @@ int TQMessageBox::information( TQWidget *parent, const TQString &caption,
int defaultButtonNumber,
int escapeButtonNumber )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::information( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
@@ -1465,7 +1465,7 @@ int TQMessageBox::question( TQWidget *parent, const TQString &caption,
int defaultButtonNumber,
int escapeButtonNumber )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::question( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
@@ -1514,7 +1514,7 @@ int TQMessageBox::warning( TQWidget *parent, const TQString &caption,
int defaultButtonNumber,
int escapeButtonNumber )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::warning( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
@@ -1559,7 +1559,7 @@ int TQMessageBox::critical( TQWidget *parent, const TQString &caption,
int defaultButtonNumber,
int escapeButtonNumber )
{
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if ( tqt_use_native_dialogs && TQTDEIntegration::enabled())
return TQTDEIntegration::critical( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
diff --git a/src/dialogs/qprintdialog.cpp b/src/dialogs/qprintdialog.cpp
index 105862173..764c480f6 100644
--- a/src/dialogs/qprintdialog.cpp
+++ b/src/dialogs/qprintdialog.cpp
@@ -1416,7 +1416,7 @@ void TQPrintDialog::printerOrFileSelected( int id )
cur += '/';
if ( cur.left( home.length() ) != home )
cur = home;
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
cur += "print.ps";
#endif
d->fileName->setText( cur );
diff --git a/src/dialogs/qprogressdialog.cpp b/src/dialogs/qprogressdialog.cpp
index 6e18f2d7f..e139ad3b3 100644
--- a/src/dialogs/qprogressdialog.cpp
+++ b/src/dialogs/qprogressdialog.cpp
@@ -617,7 +617,7 @@ void TQProgressDialog::setProgress( int progress )
d->shown_once = TRUE;
}
}
-#ifdef Q_WS_MACX
+#ifdef TQ_WS_MACX
TQApplication::flush();
#endif
}