mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kdesudo: remove unused KdeSudo members and methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5800089d10
commit
648b95d4d2
2 changed files with 0 additions and 23 deletions
|
@ -48,7 +48,6 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <csignal>
|
||||
|
||||
KdeSudo::KdeSudo(const QString &icon, const QString &appname) :
|
||||
QObject(),
|
||||
|
@ -344,23 +343,6 @@ void KdeSudo::slotUser1()
|
|||
m_dialog->done(AsUser);
|
||||
}
|
||||
|
||||
void KdeSudo::blockSigChild()
|
||||
{
|
||||
sigset_t sset;
|
||||
sigemptyset(&sset);
|
||||
sigaddset(&sset, SIGCHLD);
|
||||
sigprocmask(SIG_BLOCK, &sset, 0L);
|
||||
}
|
||||
|
||||
void KdeSudo::unblockSigChild()
|
||||
{
|
||||
sigset_t sset;
|
||||
sigemptyset(&sset);
|
||||
sigaddset(&sset, SIGCHLD);
|
||||
sigprocmask(SIG_UNBLOCK, &sset, 0L);
|
||||
}
|
||||
|
||||
|
||||
QString KdeSudo::validArg(QString arg)
|
||||
{
|
||||
QChar firstChar = arg.at(0);
|
||||
|
|
|
@ -79,13 +79,8 @@ private:
|
|||
void error(const QString &);
|
||||
QProcess *m_process;
|
||||
bool m_error;
|
||||
bool useTerm;
|
||||
bool noExec;
|
||||
QString m_tmpName;
|
||||
QString iceauthorityFile;
|
||||
KDESu::KDESuPrivate::KCookie *m_pCookie;
|
||||
void blockSigChild();
|
||||
void unblockSigChild();
|
||||
|
||||
KPasswordDialog *m_dialog;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue