mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
libs: remove KDM leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
304b5398ce
commit
9f7eb66616
3 changed files with 0 additions and 34 deletions
|
@ -1,6 +1,3 @@
|
|||
|
||||
include_directories( ${CMAKE_SOURCE_DIR}/kdm/kfrontend )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
set(kgreet_classic_PART_SRCS kgreet_classic.cpp )
|
||||
|
|
|
@ -568,35 +568,6 @@ KDisplayManager::shutdown(KWorkSpace::ShutdownType shutdownType,
|
|||
}
|
||||
exec(cmd.data());
|
||||
}
|
||||
|
||||
bool
|
||||
KDisplayManager::bootOptions(QStringList &opts, int &defopt, int ¤t)
|
||||
{
|
||||
if (DMType != NewKDM)
|
||||
return false;
|
||||
|
||||
QByteArray re;
|
||||
if (!exec("listbootoptions\n", re))
|
||||
return false;
|
||||
|
||||
opts = QString::fromLocal8Bit(re.data()).split('\t', QString::SkipEmptyParts);
|
||||
if (opts.size() < 4)
|
||||
return false;
|
||||
|
||||
bool ok;
|
||||
defopt = opts[2].toInt(&ok);
|
||||
if (!ok)
|
||||
return false;
|
||||
current = opts[3].toInt(&ok);
|
||||
if (!ok)
|
||||
return false;
|
||||
|
||||
opts = opts[1].split(' ', QString::SkipEmptyParts);
|
||||
for (QStringList::Iterator it = opts.begin(); it != opts.end(); ++it)
|
||||
(*it).replace("\\s", " ");
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif // KDM_NO_SHUTDOWN
|
||||
|
||||
// This only tells KDM to not auto-re-login upon session crash
|
||||
|
|
|
@ -57,8 +57,6 @@ public:
|
|||
bool switchVT(int vt);
|
||||
void lockSwitchVT(int vt);
|
||||
|
||||
bool bootOptions(QStringList &opts, int &dflt, int &curr);
|
||||
|
||||
static QString sess2Str(const SessEnt &se);
|
||||
static void sess2Str2(const SessEnt &se, QString &user, QString &loc);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue