File indexing completed on 2024-05-05 03:50:35
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2009 Eckhart Wörner <ewoerner@kde.org> 0004 // 0005 0006 #ifndef GEOCUTE_PROVIDER_H 0007 #define GEOCUTE_PROVIDER_H 0008 0009 #include <QObject> 0010 0011 #include "Status.h" 0012 0013 class QString; 0014 0015 namespace GeoCute 0016 { 0017 0018 class Provider : public QObject 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 Provider(const QString& service, const QString& path, 0024 QObject* parent = 0); 0025 virtual ~Provider(); 0026 Status status() const; 0027 0028 Q_SIGNALS: 0029 void statusChanged(GeoCute::Status status); 0030 0031 private: 0032 class Private; 0033 Private* const d; 0034 Q_PRIVATE_SLOT(d, void statusChangedCall(int status)) 0035 }; 0036 0037 } 0038 0039 0040 0041 #endif