Changeset View
Changeset View
Standalone View
Standalone View
src/readonlypart_p.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 43 | { | |||
---|---|---|---|---|---|
45 | m_statJob = nullptr; | 45 | m_statJob = nullptr; | ||
46 | m_uploadJob = nullptr; | 46 | m_uploadJob = nullptr; | ||
47 | m_showProgressInfo = true; | 47 | m_showProgressInfo = true; | ||
48 | m_saveOk = false; | 48 | m_saveOk = false; | ||
49 | m_waitForSave = false; | 49 | m_waitForSave = false; | ||
50 | m_duringSaveAs = false; | 50 | m_duringSaveAs = false; | ||
51 | m_bTemp = false; | 51 | m_bTemp = false; | ||
52 | m_bAutoDetectedMime = false; | 52 | m_bAutoDetectedMime = false; | ||
53 | m_closeUrlFromOpenUrl = false; | ||||
53 | } | 54 | } | ||
54 | 55 | | |||
55 | ~ReadOnlyPartPrivate() | 56 | ~ReadOnlyPartPrivate() | ||
56 | { | 57 | { | ||
57 | } | 58 | } | ||
58 | 59 | | |||
59 | void _k_slotJobFinished(KJob *job); | 60 | void _k_slotJobFinished(KJob *job); | ||
60 | void _k_slotStatJobFinished(KJob *job); | 61 | void _k_slotStatJobFinished(KJob *job); | ||
Show All 13 Lines | |||||
74 | 75 | | |||
75 | /** | 76 | /** | ||
76 | * If @p true, @p m_file is a temporary file that needs to be deleted later. | 77 | * If @p true, @p m_file is a temporary file that needs to be deleted later. | ||
77 | */ | 78 | */ | ||
78 | bool m_bTemp: 1; | 79 | bool m_bTemp: 1; | ||
79 | 80 | | |||
80 | // whether the mimetype in the arguments was detected by the part itself | 81 | // whether the mimetype in the arguments was detected by the part itself | ||
81 | bool m_bAutoDetectedMime : 1; | 82 | bool m_bAutoDetectedMime : 1; | ||
83 | // Whether we are calling closeUrl() from openUrl(). | ||||
84 | bool m_closeUrlFromOpenUrl; | ||||
82 | 85 | | |||
83 | /** | 86 | /** | ||
84 | * Remote (or local) url - the one displayed to the user. | 87 | * Remote (or local) url - the one displayed to the user. | ||
85 | */ | 88 | */ | ||
86 | QUrl m_url; | 89 | QUrl m_url; | ||
87 | 90 | | |||
88 | /** | 91 | /** | ||
89 | * Local file - the only one the part implementation should deal with. | 92 | * Local file - the only one the part implementation should deal with. | ||
Show All 9 Lines |