Subversion Repositories tpanel

Rev

Rev 292 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 292 Rev 316
Line 164... Line 164...
164
bool TConfig::reReadConfig()
164
bool TConfig::reReadConfig()
165
{
165
{
166
    return readConfig();
166
    return readConfig();
167
}
167
}
168
 
168
 
-
 
169
/**
-
 
170
 * @brief TConfig::setTemporary - Activate/deactivate temporary config
-
 
171
 * Activates or deactivates the state of the temporary configuration. The
-
 
172
 * temporary configuration is a shadow configuration which holds all changes
-
 
173
 * to the configuration without saving it.
-
 
174
 *
-
 
175
 * @param tmp   State of the active configuration.
-
 
176
 * @return
-
 
177
 * Returns the previous state of the configuration setting.
-
 
178
 */
169
void TConfig::setTemporary(bool tmp)
179
bool TConfig::setTemporary(bool tmp)
170
{
180
{
171
    DECL_TRACER("TConfig::setTemporary(bool tmp)");
181
    DECL_TRACER("TConfig::setTemporary(bool tmp)");
172
 
182
 
-
 
183
    bool old = mTemporary;
173
    mTemporary = tmp;
184
    mTemporary = tmp;
-
 
185
    return old;
174
}
186
}
175
 
187
 
176
void TConfig::reset()
188
void TConfig::reset()
177
{
189
{
178
    DECL_TRACER("TConfig::reset()");
190
    DECL_TRACER("TConfig::reset()");