summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileselector.h
authorzecke <zecke>2002-09-20 17:28:20 (UTC)
committer zecke <zecke>2002-09-20 17:28:20 (UTC)
commit55dd11ddae09bfc4907399c473f0387c135fdae6 (patch) (unidiff)
tree69d52e2f0e1030bbdcbf518f0a334ff4861500fa /libopie/ofileselector/ofileselector.h
parent40df2487c53a5ab484d33d619f5b6ed449c0b485 (diff)
downloadopie-55dd11ddae09bfc4907399c473f0387c135fdae6.zip
opie-55dd11ddae09bfc4907399c473f0387c135fdae6.tar.gz
opie-55dd11ddae09bfc4907399c473f0387c135fdae6.tar.bz2
OTodo know is the first implementation of OPimRecord
Diffstat (limited to 'libopie/ofileselector/ofileselector.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/ofileselector/ofileselector.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/libopie/ofileselector/ofileselector.h b/libopie/ofileselector/ofileselector.h
index a7b363f..bf9a26b 100644
--- a/libopie/ofileselector/ofileselector.h
+++ b/libopie/ofileselector/ofileselector.h
@@ -69,6 +69,7 @@ class QFileInfo;
69class QHBox; 69class QHBox;
70class OFileView; 70class OFileView;
71class OLister; 71class OLister;
72class OFileSelectorMain;
72// 73//
73 74
74/* the mimetypes one name and a list of mimetypes */ 75/* the mimetypes one name and a list of mimetypes */
@@ -342,6 +343,8 @@ class OFileSelector : public QWidget {
342 int filter(); 343 int filter();
343 int sorting(); 344 int sorting();
344 QPixmap pixmap( const QString& ); 345 QPixmap pixmap( const QString& );
346 /* our tool bar */
347 QWidget* toolBar();
345 348
346 signals: 349 signals:
347 void fileSelected( const DocLnk & ); 350 void fileSelected( const DocLnk & );
@@ -369,6 +372,9 @@ class OFileSelector : public QWidget {
369 372
370 private: 373 private:
371 374
375 OFileSelectorMain* m_mainView;
376 OLister* m_lister;
377 OFileView* m_fileView;
372 FileSelector* m_select; 378 FileSelector* m_select;
373 int m_mode, m_selector; 379 int m_mode, m_selector;
374 QComboBox *m_location, 380 QComboBox *m_location,
@@ -390,10 +396,9 @@ class OFileSelector : public QWidget {
390 396
391 QString m_currentDir; 397 QString m_currentDir;
392 QString m_name; 398 QString m_name;
393 QMap<QString, QStringList> m_mimetypes;
394 399
400 QMap<QString, QStringList> m_mimetypes;
395 401
396 QWidgetStack *m_stack;
397 QVBoxLayout *m_lay; 402 QVBoxLayout *m_lay;
398 QGridLayout *m_Oselector; 403 QGridLayout *m_Oselector;
399 404
@@ -402,7 +407,6 @@ class OFileSelector : public QWidget {
402 QHBox *m_boxName; 407 QHBox *m_boxName;
403 QHBox *m_boxView; 408 QHBox *m_boxView;
404 409
405 QPopupMenu *m_custom;
406 410
407 QLineEdit *m_edit; 411 QLineEdit *m_edit;
408 QLabel *m_fnLabel; 412 QLabel *m_fnLabel;
@@ -420,6 +424,7 @@ class OFileSelector : public QWidget {
420 bool m_dir : 1; 424 bool m_dir : 1;
421 bool m_files : 1; 425 bool m_files : 1;
422 bool m_showPopup : 1; 426 bool m_showPopup : 1;
427 bool m_showHidden : 1;
423 428
424 void initVars(); 429 void initVars();
425 430
@@ -427,7 +432,6 @@ class OFileSelector : public QWidget {
427 void initializeName(); 432 void initializeName();
428 void initializeYes(); 433 void initializeYes();
429 void initializeChooser(); 434 void initializeChooser();
430 void initializeListView();
431 void initializePerm(); 435 void initializePerm();
432 void initPics(); 436 void initPics();
433 bool compliesMime(const QString &path, 437 bool compliesMime(const QString &path,
@@ -438,6 +442,11 @@ class OFileSelector : public QWidget {
438 */ 442 */
439 void updateMimeCheck(); 443 void updateMimeCheck();
440 444
445 void initializeOldSelector();
446 void initLister();
447 void initToolbar();
448 void initLocations();
449 void initializeView() {}; // FIXME
441 /** 450 /**
442 * Returns the current mimetype 451 * Returns the current mimetype
443 */ 452 */