Changeset View
Changeset View
Standalone View
Standalone View
krusader/UserAction/kraction.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
72 | 72 | | |||
73 | QString category() const { | 73 | QString category() const { | ||
74 | return _category; | 74 | return _category; | ||
75 | }; | 75 | }; | ||
76 | void setCategory(const QString& category) { | 76 | void setCategory(const QString& category) { | ||
77 | _category = category; | 77 | _category = category; | ||
78 | }; | 78 | }; | ||
79 | 79 | | |||
80 | QString command() const Q_DECL_OVERRIDE { | 80 | QString command() const override { | ||
81 | return _command; | 81 | return _command; | ||
82 | }; | 82 | }; | ||
83 | void setCommand(const QString& command) { | 83 | void setCommand(const QString& command) { | ||
84 | _command = command; | 84 | _command = command; | ||
85 | }; | 85 | }; | ||
86 | 86 | | |||
87 | QString user() const Q_DECL_OVERRIDE { | 87 | QString user() const override { | ||
88 | return _user; | 88 | return _user; | ||
89 | }; | 89 | }; | ||
90 | void setUser(const QString& user) { | 90 | void setUser(const QString& user) { | ||
91 | _user = user; | 91 | _user = user; | ||
92 | }; | 92 | }; | ||
93 | 93 | | |||
94 | QString startpath() const Q_DECL_OVERRIDE { | 94 | QString startpath() const override { | ||
95 | return _startpath; | 95 | return _startpath; | ||
96 | }; | 96 | }; | ||
97 | void setStartpath(const QString& startpath) { | 97 | void setStartpath(const QString& startpath) { | ||
98 | _startpath = startpath; | 98 | _startpath = startpath; | ||
99 | }; | 99 | }; | ||
100 | 100 | | |||
101 | ExecType execType() const Q_DECL_OVERRIDE { | 101 | ExecType execType() const override { | ||
102 | return _execType; | 102 | return _execType; | ||
103 | }; | 103 | }; | ||
104 | void setExecType(ExecType execType) { | 104 | void setExecType(ExecType execType) { | ||
105 | _execType = execType; | 105 | _execType = execType; | ||
106 | }; | 106 | }; | ||
107 | 107 | | |||
108 | bool acceptURLs() const Q_DECL_OVERRIDE { | 108 | bool acceptURLs() const override { | ||
109 | return _acceptURLs; | 109 | return _acceptURLs; | ||
110 | }; | 110 | }; | ||
111 | void setAcceptURLs(const bool& acceptURLs) { | 111 | void setAcceptURLs(const bool& acceptURLs) { | ||
112 | _acceptURLs = acceptURLs; | 112 | _acceptURLs = acceptURLs; | ||
113 | }; | 113 | }; | ||
114 | 114 | | |||
115 | bool confirmExecution() const Q_DECL_OVERRIDE { | 115 | bool confirmExecution() const override { | ||
116 | return _confirmExecution; | 116 | return _confirmExecution; | ||
117 | }; | 117 | }; | ||
118 | void setConfirmExecution(const bool& confirmExecution) { | 118 | void setConfirmExecution(const bool& confirmExecution) { | ||
119 | _confirmExecution = confirmExecution; | 119 | _confirmExecution = confirmExecution; | ||
120 | }; | 120 | }; | ||
121 | 121 | | |||
122 | QStringList showonlyProtocol() const { | 122 | QStringList showonlyProtocol() const { | ||
123 | return _showonlyProtocol; | 123 | return _showonlyProtocol; | ||
Show All 18 Lines | |||||
142 | 142 | | |||
143 | QStringList showonlyFile() const { | 143 | QStringList showonlyFile() const { | ||
144 | return _showonlyFile; | 144 | return _showonlyFile; | ||
145 | }; | 145 | }; | ||
146 | void setShowonlyFile(const QStringList& showonlyFile) { | 146 | void setShowonlyFile(const QStringList& showonlyFile) { | ||
147 | _showonlyFile = showonlyFile; | 147 | _showonlyFile = showonlyFile; | ||
148 | }; | 148 | }; | ||
149 | 149 | | |||
150 | bool doSubstitution() const Q_DECL_OVERRIDE { | 150 | bool doSubstitution() const override { | ||
151 | return true; | 151 | return true; | ||
152 | } | 152 | } | ||
153 | 153 | | |||
154 | QString text() const Q_DECL_OVERRIDE { | 154 | QString text() const override { | ||
155 | return QAction::text(); | 155 | return QAction::text(); | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | public slots: | 158 | public slots: | ||
159 | void exec() { | 159 | void exec() { | ||
160 | KrActionBase::exec(); | 160 | KrActionBase::exec(); | ||
161 | } | 161 | } | ||
162 | 162 | | |||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |