Alkimia API

alkonlinequoteuploaddialog.h
1/*
2 SPDX-FileCopyrightText: 2024 Ralf Habacker ralf.habacker @freenet.de
3
4 This file is part of libalkimia.
5
6 SPDX-License-Identifier: LGPL-2.1-or-later
7*/
8
9#ifndef ALKONLINEQUOTEUPLOADDIALOG_H
10#define ALKONLINEQUOTEUPLOADDIALOG_H
11
12#include <QDialog>
13#include <QUrl>
14
16
17namespace Ui {
18class AlkOnlineQuoteUploadDialog;
19}
20
21class AlkOnlineQuoteUploadDialog : public QDialog
22{
24
25public:
26 explicit AlkOnlineQuoteUploadDialog(const AlkOnlineQuoteSource &source, bool autoGenerate = false, QWidget *parent = nullptr);
27 ~AlkOnlineQuoteUploadDialog();
28
29 static bool isSupported();
30
31protected:
32 bool compressFile(const QString &outFile, const QString &inFile);
33
34private Q_SLOTS:
35 void slotCreatePackage();
36 void slotCopyToClipboard();
37 void slotEnterStoreAndClose();
38
39private:
40 Ui::AlkOnlineQuoteUploadDialog *ui;
41 const AlkOnlineQuoteSource &m_source;
42 QUrl m_file;
43 QUrl m_storePackageEditUrl;
44};
45
46#endif // ALKONLINEQUOTEUPLOADDIALOG_H
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.