diff options
Diffstat (limited to 'kpf/src/RootValidator.cpp')
-rw-r--r-- | kpf/src/RootValidator.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpf/src/RootValidator.cpp b/kpf/src/RootValidator.cpp index 17d6a43a..00fae54d 100644 --- a/kpf/src/RootValidator.cpp +++ b/kpf/src/RootValidator.cpp @@ -21,23 +21,23 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qfileinfo.h> -#include <qdir.h> +#include <tqfileinfo.h> +#include <tqdir.h> #include "RootValidator.h" #include "WebServerManager.h" namespace KPF { - RootValidator::RootValidator(QObject * parent, const char * name) - : QValidator(parent, name) + RootValidator::RootValidator(TQObject * parent, const char * name) + : TQValidator(parent, name) { } - QValidator::State - RootValidator::validate(QString & input, int & /* unused */) const + TQValidator::State + RootValidator::validate(TQString & input, int & /* unused */) const { - QString root(input); + TQString root(input); if ('/' == root.at(root.length() - 1)) { @@ -49,13 +49,13 @@ namespace KPF if (0 != WebServerManager::instance()->server(root)) return Intermediate; - QFileInfo fi(root); + TQFileInfo fi(root); if (!fi.isDir()) return Intermediate; // Disabling disallowing of ~, on request. -// if (fi.dirPath() == QDir::homeDirPath()) +// if (fi.dirPath() == TQDir::homeDirPath()) // return Intermediate; return Acceptable; |