dolphin/kdepasswd/kcm/chfnprocess.h
Stephan Kulow e77f20dbaf svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=439627
2005-07-28 14:59:42 +00:00

34 lines
1 KiB
C++

/***************************************************************************
* Copyright 2003 Braden MacDonald <bradenm_k@shaw.ca> *
* Copyright 2003 Ravikiran Rajagopal <ravi@ee.eng.ohio-state.edu> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License (version 2) as *
* published by the Free Software Foundation. *
* *
***************************************************************************/
#ifndef CHFNPROC_H
#define CHFNPROC_H
#include <QByteArray>
#include <kdesu/process.h>
class ChfnProcess : public PtyProcess
{
public:
enum Errors { ChfnNotFound=1, PasswordError=2, MiscError=3 };
int exec(const char *pass, const char *name);
QByteArray error() { return m_Error; }
private:
int ConverseChfn(const char *pass);
QByteArray m_Error;
};
#endif