Changeset View
Changeset View
Standalone View
Standalone View
kcms/autostart/autostart.cpp
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Line(s) | 135 | { | |||
---|---|---|---|---|---|
150 | 150 | | |||
151 | m_paths << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/autostart-scripts/") | 151 | m_paths << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/autostart-scripts/") | ||
152 | << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/plasma-workspace/shutdown/") | 152 | << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/plasma-workspace/shutdown/") | ||
153 | << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/plasma-workspace/env/"); | 153 | << QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QStringLiteral("/plasma-workspace/env/"); | ||
154 | // share/autostart shouldn't be an option as this should be reserved for global autostart entries | 154 | // share/autostart shouldn't be an option as this should be reserved for global autostart entries | ||
155 | 155 | | |||
156 | m_pathName << i18n("Startup") | 156 | m_pathName << i18n("Startup") | ||
157 | << i18n("Logout") | 157 | << i18n("Logout") | ||
158 | << i18n("Pre-KDE startup") | 158 | << i18n("Before session startup") | ||
159 | ; | 159 | ; | ||
160 | widget->listCMD->clear(); | 160 | widget->listCMD->clear(); | ||
161 | 161 | | |||
162 | m_programItem = new QTreeWidgetItem( widget->listCMD ); | 162 | m_programItem = new QTreeWidgetItem( widget->listCMD ); | ||
163 | m_programItem->setText( 0, i18n( "Desktop File" )); | 163 | m_programItem->setText( 0, i18n( "Desktop File" )); | ||
164 | m_programItem->setFlags(m_programItem->flags()^Qt::ItemIsSelectable ); | 164 | m_programItem->setFlags(m_programItem->flags()^Qt::ItemIsSelectable ); | ||
165 | 165 | | |||
166 | QFont boldFont = m_programItem->font(0); | 166 | QFont boldFont = m_programItem->font(0); | ||
▲ Show 20 Lines • Show All 303 Lines • Show Last 20 Lines |