Diffstat (limited to 'libopie/ofileselector/ofileselector.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileselector.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/libopie/ofileselector/ofileselector.h b/libopie/ofileselector/ofileselector.h index 12af732..a7b363f 100644 --- a/libopie/ofileselector/ofileselector.h +++ b/libopie/ofileselector/ofileselector.h | |||
@@ -68,6 +68,7 @@ class QPopupMenu; | |||
68 | class QFileInfo; | 68 | class QFileInfo; |
69 | class QHBox; | 69 | class QHBox; |
70 | class OFileView; | 70 | class OFileView; |
71 | class OLister; | ||
71 | // | 72 | // |
72 | 73 | ||
73 | /* the mimetypes one name and a list of mimetypes */ | 74 | /* the mimetypes one name and a list of mimetypes */ |
@@ -337,6 +338,7 @@ class OFileSelector : public QWidget { | |||
337 | 338 | ||
338 | OFileView* currentView(); | 339 | OFileView* currentView(); |
339 | OFileView* currentView()const; | 340 | OFileView* currentView()const; |
341 | OLister* currentLister()const; | ||
340 | int filter(); | 342 | int filter(); |
341 | int sorting(); | 343 | int sorting(); |
342 | QPixmap pixmap( const QString& ); | 344 | QPixmap pixmap( const QString& ); |
@@ -369,9 +371,18 @@ class OFileSelector : public QWidget { | |||
369 | 371 | ||
370 | FileSelector* m_select; | 372 | FileSelector* m_select; |
371 | int m_mode, m_selector; | 373 | int m_mode, m_selector; |
372 | QComboBox *m_location, *m_mimeCheck, *m_viewCheck; | 374 | QComboBox *m_location, |
373 | QPushButton *m_homeButton, *m_docButton, *m_hideButton, *m_ok, *m_cancel; | 375 | *m_mimeCheck, |
374 | QPushButton *m_reread, *m_up, *m_new, *m_close; | 376 | *m_viewCheck; |
377 | |||
378 | QPushButton *m_homeButton, | ||
379 | *m_docButton, | ||
380 | *m_hideButton, | ||
381 | *m_ok, *m_cancel; | ||
382 | QPushButton *m_reread, | ||
383 | *m_up, | ||
384 | *m_new, | ||
385 | *m_close; | ||
375 | QListView *m_View; | 386 | QListView *m_View; |
376 | QCheckBox *m_checkPerm; | 387 | QCheckBox *m_checkPerm; |
377 | QWidget *m_pseudo; | 388 | QWidget *m_pseudo; |
@@ -379,7 +390,6 @@ class OFileSelector : public QWidget { | |||
379 | 390 | ||
380 | QString m_currentDir; | 391 | QString m_currentDir; |
381 | QString m_name; | 392 | QString m_name; |
382 | // QStringList m_mimetypes; | ||
383 | QMap<QString, QStringList> m_mimetypes; | 393 | QMap<QString, QStringList> m_mimetypes; |
384 | 394 | ||
385 | 395 | ||
@@ -388,8 +398,8 @@ class OFileSelector : public QWidget { | |||
388 | QGridLayout *m_Oselector; | 398 | QGridLayout *m_Oselector; |
389 | 399 | ||
390 | QHBox *m_boxToolbar; | 400 | QHBox *m_boxToolbar; |
391 | QHBox *m_boxOk; // (no layout anymore) wait | 401 | QHBox *m_boxOk; |
392 | QHBox *m_boxName; // (no Layout anymore) wait | 402 | QHBox *m_boxName; |
393 | QHBox *m_boxView; | 403 | QHBox *m_boxView; |
394 | 404 | ||
395 | QPopupMenu *m_custom; | 405 | QPopupMenu *m_custom; |
@@ -412,9 +422,7 @@ class OFileSelector : public QWidget { | |||
412 | bool m_showPopup : 1; | 422 | bool m_showPopup : 1; |
413 | 423 | ||
414 | void initVars(); | 424 | void initVars(); |
415 | virtual void addFile(const QString &mime, QFileInfo *info, bool symlink = FALSE ); | 425 | |
416 | virtual void addDir( const QString &mime, QFileInfo *info , bool symlink = FALSE ); | ||
417 | virtual void addSymlink(const QString &, QFileInfo *, bool = FALSE ){}; | ||
418 | void delItems(); | 426 | void delItems(); |
419 | void initializeName(); | 427 | void initializeName(); |
420 | void initializeYes(); | 428 | void initializeYes(); |
@@ -441,17 +449,8 @@ class OFileSelector : public QWidget { | |||
441 | private slots: | 449 | private slots: |
442 | void slotFileSelected(const QString & ); // not really meant to be a slot | 450 | void slotFileSelected(const QString & ); // not really meant to be a slot |
443 | void slotFileBridgeSelected( const DocLnk & ); | 451 | void slotFileBridgeSelected( const DocLnk & ); |
444 | virtual void slotSelectionChanged(); | ||
445 | virtual void slotCurrentChanged(QListViewItem* ); | ||
446 | virtual void slotClicked( int, QListViewItem *item, const QPoint &, int); | ||
447 | virtual void slotRightButton(int, QListViewItem *, const QPoint &, int ); | ||
448 | virtual void slotContextMenu( QListViewItem *item); | ||
449 | // listview above | 452 | // listview above |
450 | // popup below | 453 | // popup below |
451 | virtual void slotChangedDir(); | ||
452 | virtual void slotOpen(); | ||
453 | virtual void slotRescan(); | ||
454 | virtual void slotRename(); | ||
455 | virtual void slotDelete(); | 454 | virtual void slotDelete(); |
456 | virtual void cdUP(); | 455 | virtual void cdUP(); |
457 | virtual void slotHome(); | 456 | virtual void slotHome(); |