Changeset View
Changeset View
Standalone View
Standalone View
src/core/kemailsettings.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 62 | enum Setting { | |||
---|---|---|---|---|---|
64 | ClientTerminal, | 64 | ClientTerminal, | ||
65 | RealName, | 65 | RealName, | ||
66 | EmailAddress, | 66 | EmailAddress, | ||
67 | ReplyToAddress, | 67 | ReplyToAddress, | ||
68 | Organization, | 68 | Organization, | ||
69 | OutServer, | 69 | OutServer, | ||
70 | OutServerLogin, | 70 | OutServerLogin, | ||
71 | OutServerPass, | 71 | OutServerPass, | ||
72 | #ifndef KDE_NO_DEPRECATED | 72 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||
73 | /** | 73 | /** | ||
74 | * @deprecated since Frameworks 5.0 | 74 | * @deprecated since Frameworks 5.0 | ||
75 | */ | 75 | */ | ||
76 | OutServerType, | 76 | OutServerType, | ||
77 | /** | 77 | /** | ||
78 | * @deprecated since Frameworks 5.0 | 78 | * @deprecated since Frameworks 5.0 | ||
79 | */ | 79 | */ | ||
80 | OutServerCommand, | 80 | OutServerCommand, | ||
81 | /** | 81 | /** | ||
82 | * @deprecated since Frameworks 5.0 | 82 | * @deprecated since Frameworks 5.0 | ||
83 | */ | 83 | */ | ||
84 | OutServerTLS, | 84 | OutServerTLS, | ||
85 | #else | ||||
86 | OutServerType_DEPRECATED_DO_NOT_USE, | ||||
87 | OutServerCommand_DEPRECATED_DO_NOT_USE, | ||||
88 | OutServerTLS_DEPRECATED_DO_NOT_USE, | ||||
85 | #endif | 89 | #endif | ||
86 | InServer, | 90 | InServer, | ||
87 | InServerLogin, | 91 | InServerLogin, | ||
88 | InServerPass, | 92 | InServerPass, | ||
89 | #ifndef KDE_NO_DEPRECATED | 93 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||
90 | /** | 94 | /** | ||
91 | * @deprecated since Frameworks 5.0 | 95 | * @deprecated since Frameworks 5.0 | ||
92 | */ | 96 | */ | ||
93 | InServerType, | 97 | InServerType, | ||
94 | /** | 98 | /** | ||
95 | * @deprecated since Frameworks 5.0 | 99 | * @deprecated since Frameworks 5.0 | ||
96 | */ | 100 | */ | ||
97 | InServerMBXType, | 101 | InServerMBXType, | ||
Show All 28 Lines | 106 | #endif | |||
126 | ~KEMailSettings(); | 130 | ~KEMailSettings(); | ||
127 | 131 | | |||
128 | /** | 132 | /** | ||
129 | * List of profiles available. | 133 | * List of profiles available. | ||
130 | * @return the list of profiles | 134 | * @return the list of profiles | ||
131 | **/ | 135 | **/ | ||
132 | QStringList profiles() const; | 136 | QStringList profiles() const; | ||
133 | 137 | | |||
134 | #ifndef KDE_NO_DEPRECATED | 138 | #if KCONFIGCORE_ENABLE_DEPRECATED_SINCE(5, 0) | ||
135 | /** | 139 | /** | ||
136 | * @deprecated since Frameworks 5.0 | | |||
137 | * Returns the name of the current profile. | 140 | * Returns the name of the current profile. | ||
138 | * @returns what profile we're currently using | 141 | * @returns what profile we're currently using | ||
142 | * @deprecated Since 5.0 | ||||
139 | **/ | 143 | **/ | ||
140 | KCONFIGCORE_DEPRECATED QString currentProfileName() const; | 144 | KCONFIGCORE_DEPRECATED_VERSION(5, 0, "API planned to be changed") | ||
145 | QString currentProfileName() const; | ||||
146 | // see https://git.reviewboard.kde.org/r/111910/ | ||||
141 | #endif | 147 | #endif | ||
142 | 148 | | |||
143 | /** | 149 | /** | ||
144 | * Change the current profile. | 150 | * Change the current profile. | ||
145 | * @param s the name of the new profile | 151 | * @param s the name of the new profile | ||
146 | **/ | 152 | **/ | ||
147 | void setProfile(const QString &s); | 153 | void setProfile(const QString &s); | ||
148 | 154 | | |||
Show All 33 Lines |