diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-06-04 12:34:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-04 12:34:06 +0200 |
commit | a410cb031faef27b87337dbd2600083add7dce97 (patch) | |
tree | 72ea86b0fe3c1fcf3ea75f41c6978c88684b8c4a /src/dialogs/qfiledialog.cpp | |
parent | d3b13515ef865fe7304afaa7a119cf326f2c774d (diff) | |
download | tqt3-a410cb031faef27b87337dbd2600083add7dce97.tar.gz tqt3-a410cb031faef27b87337dbd2600083add7dce97.zip |
Rename tqt-kde integration to tqt-tde.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/dialogs/qfiledialog.cpp')
-rw-r--r-- | src/dialogs/qfiledialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp index 471084f1e..076960d96 100644 --- a/src/dialogs/qfiledialog.cpp +++ b/src/dialogs/qfiledialog.cpp @@ -96,7 +96,7 @@ #include "ntqwidgetstack.h" #ifdef Q_WS_X11 -#include "private/tqtkdeintegration_x11_p.h" +#include "private/tqttdeintegration_x11_p.h" #endif #ifdef Q_WS_WIN @@ -3494,8 +3494,8 @@ TQString TQFileDialog::getOpenFileName( const TQString & startWith, *workingDirectory = ::toRootIfNotExists( TQDir::currentDirPath() ); #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter, false ).first(); #elif defined(Q_WS_WIN) if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle ) @@ -3619,8 +3619,8 @@ TQString TQFileDialog::getSaveFileName( const TQString & startWith, *workingDirectory = ::toRootIfNotExists( TQDir::currentDirPath() ); #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::getSaveFileName( initialSelection, filter, workingDirectory, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::getSaveFileName( initialSelection, filter, workingDirectory, parent, name, caption, selectedFilter ); #elif defined(Q_WS_WIN) if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle ) @@ -4520,8 +4520,8 @@ TQString TQFileDialog::getExistingDirectory( const TQString & dir, initialDir = dir; } else initialDir = TQString::null; - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::getExistingDirectory( initialDir, parent, name, caption ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::getExistingDirectory( initialDir, parent, name, caption ); #elif defined(Q_WS_WIN) TQString initialDir; if ( !dir.isEmpty() ) { @@ -5687,8 +5687,8 @@ TQStringList TQFileDialog::getOpenFileNames( const TQString & filter, } #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter, true ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::getOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter, true ); #elif defined(Q_WS_WIN) if ( tqt_use_native_dialogs && tqApp->style().styleHint( TQStyle::SH_GUIStyle ) == WindowsStyle ) return winGetOpenFileNames( filter, workingDirectory, parent, name, caption, selectedFilter ); |