KShare/filenamevalidator.hpp
2017-07-05 12:05:55 +02:00

13 lines
294 B
C++

#ifndef FILENAMEVALIDATOR_HPP
#define FILENAMEVALIDATOR_HPP
#include <QValidator>
class FilenameValidator : public QValidator {
public:
FilenameValidator(QObject *parent = nullptr);
QValidator::State validate(QString &input, int &) const override;
};
#endif // FILENAMEVALIDATOR_HPP