Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.h
Show First 20 Lines • Show All 375 Lines • ▼ Show 20 Line(s) | 320 | public slots: | |||
---|---|---|---|---|---|
376 | 376 | | |||
377 | /** | 377 | /** | ||
378 | * Handles a drop of @p dropEvent onto widget @p dropWidget and destination @p destUrl | 378 | * Handles a drop of @p dropEvent onto widget @p dropWidget and destination @p destUrl | ||
379 | */ | 379 | */ | ||
380 | void dropUrls(const QUrl &destUrl, QDropEvent *dropEvent, QWidget *dropWidget); | 380 | void dropUrls(const QUrl &destUrl, QDropEvent *dropEvent, QWidget *dropWidget); | ||
381 | 381 | | |||
382 | void stopLoading(); | 382 | void stopLoading(); | ||
383 | 383 | | |||
384 | /** | ||||
385 | * Applies the state that has been restored by restoreViewState() | ||||
386 | * to the view. | ||||
387 | */ | ||||
388 | void updateViewState(); | ||||
389 | | ||||
384 | /** Activates the view if the item list container gets focus. */ | 390 | /** Activates the view if the item list container gets focus. */ | ||
385 | bool eventFilter(QObject* watched, QEvent* event) override; | 391 | bool eventFilter(QObject* watched, QEvent* event) override; | ||
386 | 392 | | |||
387 | signals: | 393 | signals: | ||
388 | /** | 394 | /** | ||
389 | * Is emitted if the view has been activated by e. g. a mouse click. | 395 | * Is emitted if the view has been activated by e. g. a mouse click. | ||
390 | */ | 396 | */ | ||
391 | void activated(); | 397 | void activated(); | ||
▲ Show 20 Lines • Show All 306 Lines • ▼ Show 20 Line(s) | 578 | private slots: | |||
698 | 704 | | |||
699 | /** | 705 | /** | ||
700 | * Called when a redirection happens. | 706 | * Called when a redirection happens. | ||
701 | * Testcase: fish://localhost | 707 | * Testcase: fish://localhost | ||
702 | */ | 708 | */ | ||
703 | void slotDirectoryRedirection(const QUrl& oldUrl, const QUrl& newUrl); | 709 | void slotDirectoryRedirection(const QUrl& oldUrl, const QUrl& newUrl); | ||
704 | 710 | | |||
705 | /** | 711 | /** | ||
706 | * Applies the state that has been restored by restoreViewState() | | |||
707 | * to the view. | | |||
708 | */ | | |||
709 | void updateViewState(); | | |||
710 | | ||||
711 | /** | | |||
712 | * Calculates the number of currently shown files into | 712 | * Calculates the number of currently shown files into | ||
713 | * \a fileCount and the number of folders into \a folderCount. | 713 | * \a fileCount and the number of folders into \a folderCount. | ||
714 | * The size of all files is written into \a totalFileSize. | 714 | * The size of all files is written into \a totalFileSize. | ||
715 | * It is recommend using this method instead of asking the | 715 | * It is recommend using this method instead of asking the | ||
716 | * directory lister or the model directly, as it takes | 716 | * directory lister or the model directly, as it takes | ||
717 | * filtering and hierarchical previews into account. | 717 | * filtering and hierarchical previews into account. | ||
718 | */ | 718 | */ | ||
719 | void calculateItemCount(int& fileCount, int& folderCount, KIO::filesize_t& totalFileSize) const; | 719 | void calculateItemCount(int& fileCount, int& folderCount, KIO::filesize_t& totalFileSize) const; | ||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |