Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/sublime/view.cpp
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 88 | { | |||
---|---|---|---|---|---|
89 | return d->widget != nullptr; | 89 | return d->widget != nullptr; | ||
90 | } | 90 | } | ||
91 | 91 | | |||
92 | void View::requestRaise() | 92 | void View::requestRaise() | ||
93 | { | 93 | { | ||
94 | emit raise(this); | 94 | emit raise(this); | ||
95 | } | 95 | } | ||
96 | 96 | | |||
97 | QString View::viewState() const | 97 | void View::readSessionConfig(KConfigGroup& config) | ||
98 | { | 98 | { | ||
99 | return QString(); | 99 | Q_UNUSED(config); | ||
100 | } | 100 | } | ||
101 | 101 | | |||
102 | void View::setState(const QString & state) | 102 | void View::writeSessionConfig(KConfigGroup& config) | ||
103 | { | 103 | { | ||
104 | Q_UNUSED(state); | 104 | Q_UNUSED(config); | ||
105 | } | 105 | } | ||
106 | 106 | | |||
107 | QList<QAction*> View::toolBarActions() const | 107 | QList<QAction*> View::toolBarActions() const | ||
108 | { | 108 | { | ||
109 | ToolDocument* tooldoc = dynamic_cast<ToolDocument*>( document() ); | 109 | ToolDocument* tooldoc = dynamic_cast<ToolDocument*>( document() ); | ||
110 | if( tooldoc ) | 110 | if( tooldoc ) | ||
111 | { | 111 | { | ||
112 | return tooldoc->factory()->toolBarActions( d->widget ); | 112 | return tooldoc->factory()->toolBarActions( d->widget ); | ||
Show All 27 Lines |