MessageComposer::InsertTextFileJob Class
| Header: | #include <MessageComposer/InsertTextFileJob> |
| CMake: | find_package(KPim6MessageComposer REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::MessageComposer) |
Public Functions
Reimplemented Public Functions
| virtual void | start() override |
Detailed Description
A job that downloads a given URL, interprets the result as a text file with the given encoding and then inserts the text into the editor.
Member Function Documentation
InsertTextFileJob::InsertTextFileJob(QTextEdit *editor, const QUrl &url)
InsertTextFileJob::~InsertTextFileJob()
void InsertTextFileJob::setEncoding(const QString &encoding)
void InsertTextFileJob::start()