KDECore
Go to the documentation of this file.
20 #ifndef KDELIBS_KAUTOSTART_H
21 #define KDELIBS_KAUTOSTART_H
25 #include <QtCore/QObject>
98 Q_DECLARE_FLAGS(Conditions, Condition)
130 void setAutostarts(
bool autostart);
141 Conditions check = NoConditions)
const;
152 void setCommand(
const QString& command);
163 void setVisibleName(
const QString& entryName);
171 static bool isServiceRegistered(
const QString& entryName);
179 QString commandToCheck()
const;
185 void setCommandToCheck(
const QString& exec);
195 StartPhase startPhase()
const;
204 void setStartPhase(StartPhase phase);
223 void setAllowedEnvironments(
const QStringList& environments);
229 void addToAllowedEnvironments(
const QString& environment);
235 void removeFromAllowedEnvironments(
const QString& environment);
252 void setExcludedEnvironments(
const QStringList& environments);
258 void addToExcludedEnvironments(
const QString& environment);
264 void removeFromExcludedEnvironments(
const QString& environment);
279 bool checkAllowedEnvironment(
const QString& environment )
const;
282 bool checkStartCondition()
const;
287 Q_DECLARE_OPERATORS_FOR_FLAGS(KAutostart::Conditions)
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Apr 16 2013 20:55:35 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.