File indexing completed on 2024-04-21 11:38:15
0001 /* 0002 SPDX-FileCopyrightText: 2000 Bernd Johannes Wuebben <wuebben@math.cornell.edu> 0003 SPDX-FileCopyrightText: 2000 Stephan Kulow <coolo@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef KSENDBUGMAIL_MAIN_H 0009 #define KSENDBUGMAIL_MAIN_H 0010 0011 #include <QObject> 0012 0013 class SMTP; 0014 0015 class BugMailer : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 BugMailer(SMTP *s) 0020 : QObject(nullptr) 0021 , sm(s) 0022 { 0023 setObjectName(QStringLiteral("mailer")); 0024 } 0025 0026 public Q_SLOTS: 0027 void slotError(int); 0028 void slotSend(); 0029 0030 private: 0031 SMTP *sm; 0032 }; 0033 0034 #endif