mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
24 lines
649 B
C
24 lines
649 B
C
|
// Copyright (C) 2018 Intel Corporation.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#ifndef TEXTCONVERTER_H
|
||
|
#define TEXTCONVERTER_H
|
||
|
|
||
|
#include "converter.h"
|
||
|
|
||
|
class TextConverter : public Converter
|
||
|
{
|
||
|
|
||
|
// Converter interface
|
||
|
public:
|
||
|
QString name() override;
|
||
|
Direction directions() override;
|
||
|
Options outputOptions() override;
|
||
|
const char *optionsHelp() override;
|
||
|
bool probeFile(QIODevice *f) override;
|
||
|
QVariant loadFile(QIODevice *f, Converter *&outputConverter) override;
|
||
|
void saveFile(QIODevice *f, const QVariant &contents, const QStringList &options) override;
|
||
|
};
|
||
|
|
||
|
#endif // TEXTCONVERTER_H
|