Changeset View
Changeset View
Standalone View
Standalone View
src/lokalizemainwindow.h
Show First 20 Lines • Show All 130 Lines • ▼ Show 20 Line(s) | 101 | public slots: | |||
---|---|---|---|---|---|
131 | 131 | | |||
132 | /// @returns smth like 'org.kde.lokalize-####' where #### is pid() | 132 | /// @returns smth like 'org.kde.lokalize-####' where #### is pid() | ||
133 | Q_SCRIPTABLE QString dbusName(); | 133 | Q_SCRIPTABLE QString dbusName(); | ||
134 | 134 | | |||
135 | Q_SCRIPTABLE void busyCursor(bool busy); | 135 | Q_SCRIPTABLE void busyCursor(bool busy); | ||
136 | //Q_SCRIPTABLE void processEvents(); | 136 | //Q_SCRIPTABLE void processEvents(); | ||
137 | 137 | | |||
138 | //returns 0 if error | 138 | //returns 0 if error | ||
139 | EditorTab* fileOpen_(QString url); | 139 | EditorTab* fileOpen_(QString url, const bool setAsActive); | ||
140 | EditorTab* fileOpen(QString url = QString(), int entry = 0, bool setAsActive = true, const QString& mergeFile = QString(), bool silent = false); | 140 | EditorTab* fileOpen(QString url = QString(), int entry = 0, bool setAsActive = true, const QString& mergeFile = QString(), bool silent = false); | ||
141 | EditorTab* fileOpen(const QString& url, const QString& source, const QString& ctxt); | 141 | EditorTab* fileOpen(const QString& url, const QString& source, const QString& ctxt, const bool setAsActive); | ||
142 | EditorTab* fileOpen(const QString& url, DocPosition docPos, int selection); | 142 | EditorTab* fileOpen(const QString& url, DocPosition docPos, int selection, const bool setAsActive); | ||
143 | EditorTab* fileOpen(const QUrl& url) | 143 | EditorTab* fileOpen(const QUrl& url) | ||
144 | { | 144 | { | ||
145 | return fileOpen(url.toLocalFile()); | 145 | return fileOpen(url.toLocalFile(), 0, true); | ||
146 | } | 146 | } | ||
147 | TM::TMTab* showTM(); | 147 | TM::TMTab* showTM(); | ||
148 | FileSearchTab* showFileSearch(bool activate = true); | 148 | FileSearchTab* showFileSearch(bool activate = true); | ||
149 | void fileSearchNext(); | 149 | void fileSearchNext(); | ||
150 | void addFilesToSearch(const QStringList&); | 150 | void addFilesToSearch(const QStringList&); | ||
151 | 151 | | |||
152 | void widgetTextCapture(); | 152 | void widgetTextCapture(); | ||
153 | signals: | 153 | signals: | ||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |