summaryrefslogtreecommitdiff
path: root/libopie/ofileselector.cc
authorzecke <zecke>2002-06-23 14:19:13 (UTC)
committer zecke <zecke>2002-06-23 14:19:13 (UTC)
commitce9178fb13908eca5b7835e785fc0914a5022615 (patch) (unidiff)
treed848ef07fb25ba6c21d3729140c4e3be9d69f6f6 /libopie/ofileselector.cc
parent3b02ead2254e59159db948d2a0980892eeb14ed8 (diff)
downloadopie-ce9178fb13908eca5b7835e785fc0914a5022615.zip
opie-ce9178fb13908eca5b7835e785fc0914a5022615.tar.gz
opie-ce9178fb13908eca5b7835e785fc0914a5022615.tar.bz2
Simon thanks for the patch. Some clean ups. Patch provided by tronical
OAOAOAOAOAOAOAOAOAOAOAOAOBOBCVS: noncore/tools/remote/dvdgroupconf.cpp
Diffstat (limited to 'libopie/ofileselector.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.cc4
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
100OFileSelector::OFileSelector( QWidget *wid, int mode, int selector, 100OFileSelector::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();
112QTimer::singleShot(6*1000, this, SLOT( slotTest() ) ); 112QTimer::singleShot(6*1000, this, SLOT( slotTest() ) );
113} 113}
114 114
115OFileSelector::OFileSelector(const QString &mimeFilter, QWidget *parent, 115OFileSelector::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
135OFileSelector::~OFileSelector() 135OFileSelector::~OFileSelector()
136{ 136{
137 137
138} 138}
139 139
140void OFileSelector::setNewVisible( bool visible ) 140void OFileSelector::setNewVisible( bool visible )
141{ 141{