-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 { | |||
92 | private: | 92 | private: |
93 | bool mLocked:1; | 93 | bool mLocked:1; |
94 | bool dir:1; | 94 | bool dir:1; |
95 | QString m_dir; | 95 | QString m_dir; |
96 | }; | 96 | }; |
97 | }; | 97 | }; |
98 | 98 | ||
99 | 99 | ||
100 | OFileSelector::OFileSelector( QWidget *wid, int mode, int selector, | 100 | OFileSelector::OFileSelector( QWidget *wid, int mode, int selector, |
101 | const QString &dirName, | 101 | const QString &dirName, |
102 | const QString &fileName, | 102 | const QString &fileName, |
103 | const QStringList &mimeTypes ) | 103 | const QStringList &mimeTypes ) |
104 | : QWidget( wid, "OFileSelector") | 104 | : QWidget( wid, "OFileSelector") |
105 | { | 105 | { |
106 | m_mimetypes = mimeTypes; | 106 | m_mimetypes = mimeTypes; |
107 | initVars(); | 107 | initVars(); |
108 | m_mode = mode; | 108 | m_mode = mode; |
109 | m_selector = selector; | 109 | m_selector = selector; |
110 | m_currentDir = dirName; | 110 | m_currentDir = dirName; |
111 | init(); | 111 | init(); |
112 | QTimer::singleShot(6*1000, this, SLOT( slotTest() ) ); | 112 | QTimer::singleShot(6*1000, this, SLOT( slotTest() ) ); |
113 | } | 113 | } |
114 | 114 | ||
115 | OFileSelector::OFileSelector(const QString &mimeFilter, QWidget *parent, | 115 | OFileSelector::OFileSelector(const QString &mimeFilter, QWidget *parent, |
116 | const char *name, bool newVisible = TRUE, | 116 | const char *name, bool newVisible, |
117 | bool closeVisible = FALSE ) | 117 | bool closeVisible ) |
118 | : QWidget( parent, name ) | 118 | : QWidget( parent, name ) |
119 | { | 119 | { |
120 | m_mimetypes = QStringList::split(";", mimeFilter ); | 120 | m_mimetypes = QStringList::split(";", mimeFilter ); |
121 | initVars(); | 121 | initVars(); |
122 | m_currentDir = QPEApplication::documentDir(); | 122 | m_currentDir = QPEApplication::documentDir(); |
123 | m_mode = OPEN; | 123 | m_mode = OPEN; |
124 | m_selector = NORMAL; | 124 | m_selector = NORMAL; |
125 | m_shClose = closeVisible; | 125 | m_shClose = closeVisible; |
126 | m_shNew = newVisible; | 126 | m_shNew = newVisible; |
127 | m_shLne = false; | 127 | m_shLne = false; |
128 | m_shPerm = false; | 128 | m_shPerm = false; |
129 | m_shYesNo = false; | 129 | m_shYesNo = false; |
130 | init(); | 130 | init(); |
131 | 131 | ||
132 | 132 | ||
133 | } | 133 | } |
134 | 134 | ||
135 | OFileSelector::~OFileSelector() | 135 | OFileSelector::~OFileSelector() |
136 | { | 136 | { |
137 | 137 | ||
138 | } | 138 | } |
139 | 139 | ||
140 | void OFileSelector::setNewVisible( bool visible ) | 140 | void OFileSelector::setNewVisible( bool visible ) |
141 | { | 141 | { |