Debian Codegraph @

src/librssguard/gui/tabcontent.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/tabcontent.h`/
2
3 #ifndef TABCONTENT_H
4 #define TABCONTENT_Hcxx . . $ `src/librssguard/gui/tabcontent.h:4:9`!
5
6 #include <QWidget>
7
8 class WebBrowsercxx . . $ WebBrowser#;
9
10 // Base class for all widgets which are placed inside tabs of TabWidget
11 class TabContentcxx . . $ TabContent# : public QWidgetcxx . . $ QWidget# {
12 Q_OBJECTcxx . . $ TabContent#qt_staticMetaObjectRelocatingContent.
13
14 public:
15 explicit TabContentcxx . . $ TabContent#TabContent(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr);
16 virtual ~cxx . . $ TabContent#`~TabContent`(ced63f7c635d850d).TabContentcxx . . $ TabContent#();
17
18 // Gets/sets current index of this TabContent.
19 // NOTE: This is the index under which this object lies
20 // in parent tab widget.
21 virtual int indexcxx . . $ TabContent#index(455f465bc33b4cdf).() const;
22 virtual void setIndexcxx . . $ TabContent#setIndex(d4f767463ce0a6b3).(int index);
23
24 // Obtains instance contained in this TabContent or nullptr.
25 // This can be used for obtaining the menu from the instance and so on.
26 virtual WebBrowsercxx . . $ WebBrowser#* webBrowsercxx . . $ TabContent#webBrowser(eb265423c44e6400).() const = 0;
27
28 protected:
29 int m_indexcxx . . $ TabContent#m_index.;
30 };
31
32 inline int TabContentcxx . . $ TabContent#::indexcxx . . $ TabContent#index(455f465bc33b4cdf).() const {
33 return m_indexcxx . . $ TabContent#m_index.;
34 }
35
36 inline void TabContentcxx . . $ TabContent#::setIndexcxx . . $ TabContent#setIndex(d4f767463ce0a6b3).(int index) {
37 m_indexcxx . . $ TabContent#m_index. = index;
38 }
39
40 #endif // TABCONTENT_H