Changeset View
Changeset View
Standalone View
Standalone View
krusader/UserAction/expander.cpp
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | |||||
108 | } | 108 | } | ||
109 | 109 | | |||
110 | namespace | 110 | namespace | ||
111 | { | 111 | { | ||
112 | 112 | | |||
113 | class exp_simpleplaceholder : public exp_placeholder | 113 | class exp_simpleplaceholder : public exp_placeholder | ||
114 | { | 114 | { | ||
115 | public: | 115 | public: | ||
116 | EXP_FUNC Q_DECL_OVERRIDE; | 116 | EXP_FUNC override; | ||
117 | virtual TagString expFunc(const KrPanel*, const QStringList&, const bool&, Expander&) const = 0; | 117 | virtual TagString expFunc(const KrPanel*, const QStringList&, const bool&, Expander&) const = 0; | ||
118 | }; | 118 | }; | ||
119 | 119 | | |||
120 | 120 | | |||
121 | #define PLACEHOLDER_CLASS(name) \ | 121 | #define PLACEHOLDER_CLASS(name) \ | ||
122 | class name : public exp_placeholder { \ | 122 | class name : public exp_placeholder { \ | ||
123 | public: \ | 123 | public: \ | ||
124 | name(); \ | 124 | name(); \ | ||
125 | virtual TagString expFunc ( const KrPanel*, const TagStringList&, const bool&, Expander& ) const Q_DECL_OVERRIDE; \ | 125 | virtual TagString expFunc ( const KrPanel*, const TagStringList&, const bool&, Expander& ) const override; \ | ||
126 | }; | 126 | }; | ||
127 | 127 | | |||
128 | #define SIMPLE_PLACEHOLDER_CLASS(name) \ | 128 | #define SIMPLE_PLACEHOLDER_CLASS(name) \ | ||
129 | class name : public exp_simpleplaceholder { \ | 129 | class name : public exp_simpleplaceholder { \ | ||
130 | public: \ | 130 | public: \ | ||
131 | using exp_simpleplaceholder::expFunc; \ | 131 | using exp_simpleplaceholder::expFunc; \ | ||
132 | name(); \ | 132 | name(); \ | ||
133 | virtual TagString expFunc ( const KrPanel*, const QStringList&, const bool&, Expander& ) const Q_DECL_OVERRIDE; \ | 133 | virtual TagString expFunc ( const KrPanel*, const QStringList&, const bool&, Expander& ) const override; \ | ||
134 | }; | 134 | }; | ||
135 | 135 | | |||
136 | 136 | | |||
137 | /** | 137 | /** | ||
138 | * expands %_Path% ('_' is replaced by 'a', 'o', 'r' or 'l' to indicate the active, other, right or left panel) with the path of the specified panel | 138 | * expands %_Path% ('_' is replaced by 'a', 'o', 'r' or 'l' to indicate the active, other, right or left panel) with the path of the specified panel | ||
139 | */ | 139 | */ | ||
140 | SIMPLE_PLACEHOLDER_CLASS(exp_Path) | 140 | SIMPLE_PLACEHOLDER_CLASS(exp_Path) | ||
141 | 141 | | |||
▲ Show 20 Lines • Show All 1081 Lines • Show Last 20 Lines |