-rw-r--r-- | libopie/ofileselector.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 8299b3d..7a67ab2 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc @@ -92,50 +92,50 @@ namespace { private: bool mLocked:1; bool dir:1; QString m_dir; }; }; OFileSelector::OFileSelector( QWidget *wid, int mode, int selector, const QString &dirName, const QString &fileName, const QStringList &mimeTypes ) : QWidget( wid, "OFileSelector") { m_mimetypes = mimeTypes; initVars(); m_mode = mode; m_selector = selector; m_currentDir = dirName; init(); QTimer::singleShot(6*1000, this, SLOT( slotTest() ) ); } OFileSelector::OFileSelector(const QString &mimeFilter, QWidget *parent, - const char *name, bool newVisible = TRUE, - bool closeVisible = FALSE ) + const char *name, bool newVisible, + bool closeVisible ) : QWidget( parent, name ) { m_mimetypes = QStringList::split(";", mimeFilter ); initVars(); m_currentDir = QPEApplication::documentDir(); m_mode = OPEN; m_selector = NORMAL; m_shClose = closeVisible; m_shNew = newVisible; m_shLne = false; m_shPerm = false; m_shYesNo = false; init(); } OFileSelector::~OFileSelector() { } void OFileSelector::setNewVisible( bool visible ) { |