xca/lib/Passwd.h
Christian Hohnstaedt e5541c6d67 SF. Bug. #81 Make xca qt5 compatible
Extend XCA to also compile against Qt5
Remove directory from Qt includes
2015-09-17 18:42:42 +02:00

30 lines
471 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2011 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef __PASSWD_H
#define __PASSWD_H
#include <QByteArray>
class Passwd: public QByteArray
{
public:
void cleanse();
~Passwd();
unsigned char *constUchar() const;
Passwd & operator= (const char *p)
{
return (Passwd&)QByteArray::operator=(p);
}
Passwd & operator= (const QByteArray &other)
{
return (Passwd&)QByteArray::operator=(other);
}
};
#endif