Changeset View
Changeset View
Standalone View
Standalone View
sm.cpp
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Line(s) | 147 | { | |||
---|---|---|---|---|---|
167 | cg.writeEntry(QLatin1String("shaded") + n, c->isShade()); | 167 | cg.writeEntry(QLatin1String("shaded") + n, c->isShade()); | ||
168 | // the config entry is called "staysOnTop" for back. comp. reasons | 168 | // the config entry is called "staysOnTop" for back. comp. reasons | ||
169 | cg.writeEntry(QLatin1String("staysOnTop") + n, c->keepAbove()); | 169 | cg.writeEntry(QLatin1String("staysOnTop") + n, c->keepAbove()); | ||
170 | cg.writeEntry(QLatin1String("keepBelow") + n, c->keepBelow()); | 170 | cg.writeEntry(QLatin1String("keepBelow") + n, c->keepBelow()); | ||
171 | cg.writeEntry(QLatin1String("skipTaskbar") + n, c->originalSkipTaskbar()); | 171 | cg.writeEntry(QLatin1String("skipTaskbar") + n, c->originalSkipTaskbar()); | ||
172 | cg.writeEntry(QLatin1String("skipPager") + n, c->skipPager()); | 172 | cg.writeEntry(QLatin1String("skipPager") + n, c->skipPager()); | ||
173 | cg.writeEntry(QLatin1String("skipSwitcher") + n, c->skipSwitcher()); | 173 | cg.writeEntry(QLatin1String("skipSwitcher") + n, c->skipSwitcher()); | ||
174 | // not really just set by user, but name kept for back. comp. reasons | 174 | // not really just set by user, but name kept for back. comp. reasons | ||
175 | cg.writeEntry(QLatin1String("userNoBorder") + n, c->noBorder()); | 175 | cg.writeEntry(QLatin1String("userNoBorder") + n, c->userNoBorder()); | ||
176 | cg.writeEntry(QLatin1String("windowType") + n, windowTypeToTxt(c->windowType())); | 176 | cg.writeEntry(QLatin1String("windowType") + n, windowTypeToTxt(c->windowType())); | ||
177 | cg.writeEntry(QLatin1String("shortcut") + n, c->shortcut().toString()); | 177 | cg.writeEntry(QLatin1String("shortcut") + n, c->shortcut().toString()); | ||
178 | cg.writeEntry(QLatin1String("stackingOrder") + n, unconstrained_stacking_order.indexOf(c)); | 178 | cg.writeEntry(QLatin1String("stackingOrder") + n, unconstrained_stacking_order.indexOf(c)); | ||
179 | // KConfig doesn't support long so we need to live with less precision on 64-bit systems | 179 | // KConfig doesn't support long so we need to live with less precision on 64-bit systems | ||
180 | cg.writeEntry(QLatin1String("tabGroup") + n, static_cast<int>(reinterpret_cast<long>(c->tabGroup()))); | 180 | cg.writeEntry(QLatin1String("tabGroup") + n, static_cast<int>(reinterpret_cast<long>(c->tabGroup()))); | ||
181 | cg.writeEntry(QLatin1String("activities") + n, c->activities()); | 181 | cg.writeEntry(QLatin1String("activities") + n, c->activities()); | ||
182 | } | 182 | } | ||
183 | 183 | | |||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |