Changeset View
Changeset View
Standalone View
Standalone View
part.h
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Line(s) | 151 | public Q_SLOTS: // dbus | |||
---|---|---|---|---|---|
163 | Q_SCRIPTABLE void slotGotoFirst(); | 163 | Q_SCRIPTABLE void slotGotoFirst(); | ||
164 | Q_SCRIPTABLE void slotGotoLast(); | 164 | Q_SCRIPTABLE void slotGotoLast(); | ||
165 | Q_SCRIPTABLE void slotTogglePresentation(); | 165 | Q_SCRIPTABLE void slotTogglePresentation(); | ||
166 | Q_SCRIPTABLE void slotToggleChangeColors(); | 166 | Q_SCRIPTABLE void slotToggleChangeColors(); | ||
167 | Q_SCRIPTABLE void slotSetChangeColors(bool active); | 167 | Q_SCRIPTABLE void slotSetChangeColors(bool active); | ||
168 | Q_SCRIPTABLE Q_NOREPLY void reload(); | 168 | Q_SCRIPTABLE Q_NOREPLY void reload(); | ||
169 | Q_SCRIPTABLE Q_NOREPLY void enableStartWithPrint(); | 169 | Q_SCRIPTABLE Q_NOREPLY void enableStartWithPrint(); | ||
170 | Q_SCRIPTABLE Q_NOREPLY void enableExitAfterPrint(); | 170 | Q_SCRIPTABLE Q_NOREPLY void enableExitAfterPrint(); | ||
171 | Q_SCRIPTABLE Q_NOREPLY void enableStartWithFind(const QString &text); | ||||
171 | 172 | | |||
172 | Q_SIGNALS: | 173 | Q_SIGNALS: | ||
173 | void enablePrintAction(bool enable); | 174 | void enablePrintAction(bool enable); | ||
174 | void openSourceReference(const QString& absFileName, int line, int column); | 175 | void openSourceReference(const QString& absFileName, int line, int column); | ||
175 | void viewerMenuStateChange(bool enabled); | 176 | void viewerMenuStateChange(bool enabled); | ||
176 | void enableCloseAction(bool enable); | 177 | void enableCloseAction(bool enable); | ||
177 | void mimeTypeChanged(QMimeType mimeType); | 178 | void mimeTypeChanged(QMimeType mimeType); | ||
178 | void urlsDropped( const QList<QUrl>& urls ); | 179 | void urlsDropped( const QList<QUrl>& urls ); | ||
▲ Show 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 384 | #endif | |||
402 | KXMLGUIClient *m_generatorGuiClient; | 403 | KXMLGUIClient *m_generatorGuiClient; | ||
403 | FileKeeper *m_keeper; | 404 | FileKeeper *m_keeper; | ||
404 | 405 | | |||
405 | // Timer for m_infoMessage | 406 | // Timer for m_infoMessage | ||
406 | QTimer *m_infoTimer; | 407 | QTimer *m_infoTimer; | ||
407 | 408 | | |||
408 | QString m_registerDbusName; | 409 | QString m_registerDbusName; | ||
409 | 410 | | |||
411 | // String to search in document startup | ||||
412 | QString m_textToFindOnOpen; | ||||
aacid: Needs m_ prefix.
And also a better name, something m_textToFindOnOpen. | |||||
This should just be a QString, not a QString *, set to it QString() when clearing it for "already searched" aacid: This should just be a QString, not a QString *, set to it QString() when clearing it for… | |||||
413 | | ||||
410 | private Q_SLOTS: | 414 | private Q_SLOTS: | ||
411 | void slotAnnotationPreferences(); | 415 | void slotAnnotationPreferences(); | ||
412 | void slotHandleActivatedSourceReference(const QString& absFileName, int line, int col, bool *handled); | 416 | void slotHandleActivatedSourceReference(const QString& absFileName, int line, int col, bool *handled); | ||
413 | }; | 417 | }; | ||
414 | 418 | | |||
415 | } | 419 | } | ||
416 | 420 | | |||
417 | #endif | 421 | #endif | ||
418 | 422 | | |||
419 | /* kate: replace-tabs on; indent-width 4; */ | 423 | /* kate: replace-tabs on; indent-width 4; */ |
Needs m_ prefix.
And also a better name, something m_textToFindOnOpen.