Changeset View
Changeset View
Standalone View
Standalone View
kate/kateappadaptor.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 41 | public Q_SLOTS: | |||
---|---|---|---|---|---|
44 | * will get view created | 44 | * will get view created | ||
45 | * @param url url of the file | 45 | * @param url url of the file | ||
46 | * @param encoding encoding name | 46 | * @param encoding encoding name | ||
47 | * @return success | 47 | * @return success | ||
48 | */ | 48 | */ | ||
49 | bool openUrl(QString url, QString encoding); | 49 | bool openUrl(QString url, QString encoding); | ||
50 | 50 | | |||
51 | /** | 51 | /** | ||
52 | * checks if the Kate instance is in the specified activity | ||||
53 | * @param activity activity to check | ||||
54 | * @return true if it is in the specified activity, false otherwise | ||||
55 | */ | ||||
56 | bool isOnActivity(const QString &activity); | ||||
dhaumann: Please pass as const reference: const QString & | |||||
57 | | ||||
58 | /** | ||||
52 | * open a file with given url and encoding | 59 | * open a file with given url and encoding | ||
53 | * will get view created | 60 | * will get view created | ||
54 | * @param url url of the file | 61 | * @param url url of the file | ||
55 | * @param encoding encoding name | 62 | * @param encoding encoding name | ||
56 | * @return token or ERROR | 63 | * @return token or ERROR | ||
57 | */ | 64 | */ | ||
58 | QString tokenOpenUrl(QString url, QString encoding); | 65 | QString tokenOpenUrl(QString url, QString encoding); | ||
59 | 66 | | |||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |
Please pass as const reference: const QString &