Changeset View
Changeset View
Standalone View
Standalone View
plugins/cvs/editorsview.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
55 | * filename a list of CvsLocker objects will be created, depending | 55 | * filename a list of CvsLocker objects will be created, depending | ||
56 | * on how many people are editing the file. | 56 | * on how many people are editing the file. | ||
57 | * If editorsInfo.size() is zero, this means that no information was | 57 | * If editorsInfo.size() is zero, this means that no information was | ||
58 | * found in the given @p jobOutput. | 58 | * found in the given @p jobOutput. | ||
59 | */ | 59 | */ | ||
60 | static void parseOutput(const QString& jobOutput, | 60 | static void parseOutput(const QString& jobOutput, | ||
61 | QMultiMap<QString,CvsLocker>& editorsInfo); | 61 | QMultiMap<QString,CvsLocker>& editorsInfo); | ||
62 | 62 | | |||
63 | private slots: | 63 | private Q_SLOTS: | ||
64 | /** | 64 | /** | ||
65 | * Connect a job's result() signal to this slot. When called, the output from the job | 65 | * Connect a job's result() signal to this slot. When called, the output from the job | ||
66 | * will be passed to the parseOutput() method and any found locker information will be | 66 | * will be passed to the parseOutput() method and any found locker information will be | ||
67 | * displayed. | 67 | * displayed. | ||
68 | * @note If you pass a CvsJob object to the ctor, it's result() signal | 68 | * @note If you pass a CvsJob object to the ctor, it's result() signal | ||
69 | * will automatically be connected to this slot. | 69 | * will automatically be connected to this slot. | ||
70 | */ | 70 | */ | ||
71 | void slotJobFinished(KJob* job); | 71 | void slotJobFinished(KJob* job); | ||
72 | 72 | | |||
73 | private: | 73 | private: | ||
74 | QString m_output; | 74 | QString m_output; | ||
75 | }; | 75 | }; | ||
76 | 76 | | |||
77 | #endif | 77 | #endif |