Diffstat (limited to 'noncore/apps/zsafe/scqtfiledlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/scqtfiledlg.cpp | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/noncore/apps/zsafe/scqtfiledlg.cpp b/noncore/apps/zsafe/scqtfiledlg.cpp index 52b8d0d..c67bbd5 100644 --- a/noncore/apps/zsafe/scqtfiledlg.cpp +++ b/noncore/apps/zsafe/scqtfiledlg.cpp | |||
@@ -1,34 +1,31 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form implementation generated from reading ui file 'scqtfiledlg.ui' | ||
3 | ** | ||
4 | ** Created: Sun Jun 8 15:51:12 2003 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #include "scqtfiledlg.h" | 1 | #include "scqtfiledlg.h" |
10 | 2 | ||
3 | /* OPIE */ | ||
4 | #include <opie2/odebug.h> | ||
5 | using namespace Opie::Core; | ||
6 | |||
7 | /* QT */ | ||
11 | #include <qcombobox.h> | 8 | #include <qcombobox.h> |
12 | #include <qlineedit.h> | 9 | #include <qlineedit.h> |
13 | #include <qlistview.h> | 10 | #include <qlistview.h> |
14 | #include <qtoolbutton.h> | 11 | #include <qtoolbutton.h> |
15 | #include <qlayout.h> | 12 | #include <qlayout.h> |
16 | #include <qtooltip.h> | 13 | #include <qtooltip.h> |
17 | #include <qwhatsthis.h> | 14 | #include <qwhatsthis.h> |
18 | 15 | ||
19 | static const char* const image0_data[] = { | 16 | static const char* const image0_data[] = { |
20 | "24 16 3 1", | 17 | "24 16 3 1", |
21 | ". c None", | 18 | ". c None", |
22 | "# c #000040", | 19 | "# c #000040", |
23 | "a c #808080", | 20 | "a c #808080", |
24 | "........................", | 21 | "........................", |
25 | "........................", | 22 | "........................", |
26 | ".................####...", | 23 | ".................####...", |
27 | ".................####...", | 24 | ".................####...", |
28 | ".......##........#aa#...", | 25 | ".......##........#aa#...", |
29 | "......###........#aa#...", | 26 | "......###........#aa#...", |
30 | ".....####........#aa#...", | 27 | ".....####........#aa#...", |
31 | "....##############aa#...", | 28 | "....##############aa#...", |
32 | "...###aaaaaaaaaaaaaa#...", | 29 | "...###aaaaaaaaaaaaaa#...", |
33 | "..####aaaaaaaaaaaaaa#...", | 30 | "..####aaaaaaaaaaaaaa#...", |
34 | "...###aaaaaaaaaaaaaa#...", | 31 | "...###aaaaaaaaaaaaaa#...", |
@@ -195,62 +192,62 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags | |||
195 | 192 | ||
196 | // signals and slots connections | 193 | // signals and slots connections |
197 | connect( OkButton, SIGNAL( clicked() ), this, SLOT( slotOK() ) ); | 194 | connect( OkButton, SIGNAL( clicked() ), this, SLOT( slotOK() ) ); |
198 | connect( DirComboBox, SIGNAL( activated(int) ), this, SLOT( slotDirComboBoxChanged(int) ) ); | 195 | connect( DirComboBox, SIGNAL( activated(int) ), this, SLOT( slotDirComboBoxChanged(int) ) ); |
199 | connect( TypeComboBox, SIGNAL( activated(int) ), this, SLOT( slotTypeComboBoxChanged(int) ) ); | 196 | connect( TypeComboBox, SIGNAL( activated(int) ), this, SLOT( slotTypeComboBoxChanged(int) ) ); |
200 | connect( CancelButton, SIGNAL( clicked() ), this, SLOT( slotCancel() ) ); | 197 | connect( CancelButton, SIGNAL( clicked() ), this, SLOT( slotCancel() ) ); |
201 | connect( ListView, SIGNAL( returnPressed(QListViewItem*) ), this, SLOT( slotSelectionChanged(QListViewItem*) ) ); | 198 | connect( ListView, SIGNAL( returnPressed(QListViewItem*) ), this, SLOT( slotSelectionChanged(QListViewItem*) ) ); |
202 | connect( ListView, SIGNAL( selectionChanged(QListViewItem*) ), this, SLOT( slotSelectionChanged(QListViewItem*) ) ); | 199 | connect( ListView, SIGNAL( selectionChanged(QListViewItem*) ), this, SLOT( slotSelectionChanged(QListViewItem*) ) ); |
203 | connect( ListView, SIGNAL( doubleClicked(QListViewItem*) ), this, SLOT( slotDoubleClicked(QListViewItem*) ) ); | 200 | connect( ListView, SIGNAL( doubleClicked(QListViewItem*) ), this, SLOT( slotDoubleClicked(QListViewItem*) ) ); |
204 | connect( FNameLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( slotFileTextChanged(const QString&) ) ); | 201 | connect( FNameLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( slotFileTextChanged(const QString&) ) ); |
205 | connect( FNameLineEdit, SIGNAL( returnPressed() ), this, SLOT( slotOK() ) ); | 202 | connect( FNameLineEdit, SIGNAL( returnPressed() ), this, SLOT( slotOK() ) ); |
206 | connect( MkDirButton, SIGNAL( clicked() ), this, SLOT( slotMkDir() ) ); | 203 | connect( MkDirButton, SIGNAL( clicked() ), this, SLOT( slotMkDir() ) ); |
207 | } | 204 | } |
208 | 205 | ||
209 | /* | 206 | /* |
210 | * Destroys the object and frees any allocated resources | 207 | * Destroys the object and frees any allocated resources |
211 | */ | 208 | */ |
212 | ScQtFileDlg::~ScQtFileDlg() | 209 | ScQtFileDlg::~ScQtFileDlg() |
213 | { | 210 | { |
214 | // no need to delete child widgets, Qt does it all for us | 211 | // no need to delete child widgets, Qt does it all for us |
215 | } | 212 | } |
216 | 213 | ||
217 | void ScQtFileDlg::slotCancel() | 214 | void ScQtFileDlg::slotCancel() |
218 | { | 215 | { |
219 | qWarning( "ScQtFileDlg::slotCancel(): Not implemented yet!" ); | 216 | owarn << "ScQtFileDlg::slotCancel(): Not implemented yet!" << oendl; |
220 | } | 217 | } |
221 | 218 | ||
222 | void ScQtFileDlg::slotDirComboBoxChanged( int ) | 219 | void ScQtFileDlg::slotDirComboBoxChanged( int ) |
223 | { | 220 | { |
224 | qWarning( "ScQtFileDlg::slotDirComboBoxChanged( int ): Not implemented yet!" ); | 221 | owarn << "ScQtFileDlg::slotDirComboBoxChanged( int ): Not implemented yet!" << oendl; |
225 | } | 222 | } |
226 | 223 | ||
227 | void ScQtFileDlg::slotDoubleClicked(QListViewItem *) | 224 | void ScQtFileDlg::slotDoubleClicked(QListViewItem *) |
228 | { | 225 | { |
229 | qWarning( "ScQtFileDlg::slotDoubleClicked(QListViewItem *): Not implemented yet!" ); | 226 | owarn << "ScQtFileDlg::slotDoubleClicked(QListViewItem *): Not implemented yet!" << oendl; |
230 | } | 227 | } |
231 | 228 | ||
232 | void ScQtFileDlg::slotFileTextChanged( const QString & ) | 229 | void ScQtFileDlg::slotFileTextChanged( const QString & ) |
233 | { | 230 | { |
234 | qWarning( "ScQtFileDlg::slotFileTextChanged( const QString & ): Not implemented yet!" ); | 231 | owarn << "ScQtFileDlg::slotFileTextChanged( const QString & ): Not implemented yet!" << oendl; |
235 | } | 232 | } |
236 | 233 | ||
237 | void ScQtFileDlg::slotMkDir() | 234 | void ScQtFileDlg::slotMkDir() |
238 | { | 235 | { |
239 | qWarning( "ScQtFileDlg::slotMkDir(): Not implemented yet!" ); | 236 | owarn << "ScQtFileDlg::slotMkDir(): Not implemented yet!" << oendl; |
240 | } | 237 | } |
241 | 238 | ||
242 | void ScQtFileDlg::slotOK() | 239 | void ScQtFileDlg::slotOK() |
243 | { | 240 | { |
244 | qWarning( "ScQtFileDlg::slotOK(): Not implemented yet!" ); | 241 | owarn << "ScQtFileDlg::slotOK(): Not implemented yet!" << oendl; |
245 | } | 242 | } |
246 | 243 | ||
247 | void ScQtFileDlg::slotSelectionChanged(QListViewItem *) | 244 | void ScQtFileDlg::slotSelectionChanged(QListViewItem *) |
248 | { | 245 | { |
249 | qWarning( "ScQtFileDlg::slotSelectionChanged(QListViewItem *): Not implemented yet!" ); | 246 | owarn << "ScQtFileDlg::slotSelectionChanged(QListViewItem *): Not implemented yet!" << oendl; |
250 | } | 247 | } |
251 | 248 | ||
252 | void ScQtFileDlg::slotTypeComboBoxChanged( int ) | 249 | void ScQtFileDlg::slotTypeComboBoxChanged( int ) |
253 | { | 250 | { |
254 | qWarning( "ScQtFileDlg::slotTypeComboBoxChanged( int ): Not implemented yet!" ); | 251 | owarn << "ScQtFileDlg::slotTypeComboBoxChanged( int ): Not implemented yet!" << oendl; |
255 | } | 252 | } |
256 | 253 | ||