Changeset View
Changeset View
Standalone View
Standalone View
src/dolphintabwidget.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
75 | /** | 75 | /** | ||
76 | * Refreshes the views of the main window by recreating them according to | 76 | * Refreshes the views of the main window by recreating them according to | ||
77 | * the given Dolphin settings. | 77 | * the given Dolphin settings. | ||
78 | */ | 78 | */ | ||
79 | void refreshViews(); | 79 | void refreshViews(); | ||
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * @param url The URL that we would like | 82 | * @param url The URL that we would like | ||
83 | * @return index of the tab with the desired URL. returns -1 if not found | 83 | * @return a QPair with first containing the index of the tab with the | ||
84 | * desired URL or -1 if not found. Second says true if URL is in primary | ||||
85 | * view container, false otherwise. False means the URL is in the secondary | ||||
86 | * view container, unless first == -1. In that case the value of second | ||||
87 | * is meaningless. | ||||
84 | */ | 88 | */ | ||
85 | int getIndexByUrl(const QUrl& url) const; | 89 | QPair<int, bool> getIndexByUrl(const QUrl& url) const; | ||
86 | 90 | | |||
87 | signals: | 91 | signals: | ||
88 | /** | 92 | /** | ||
89 | * Is emitted when the active view has been changed, by changing the current | 93 | * Is emitted when the active view has been changed, by changing the current | ||
90 | * tab or by activating another view when split view is enabled in the current | 94 | * tab or by activating another view when split view is enabled in the current | ||
91 | * tab. | 95 | * tab. | ||
92 | */ | 96 | */ | ||
93 | void activeViewChanged(DolphinViewContainer* viewContainer); | 97 | void activeViewChanged(DolphinViewContainer* viewContainer); | ||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |