File indexing completed on 2025-04-20 04:02:15
0001 /* 0002 * SPDX-FileCopyrightText: (C) 2015 Vishesh Handa <vhanda@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef KOKO_IMAGEPROCESSORRUNNABLE_H 0008 #define KOKO_IMAGEPROCESSORRUNNABLE_H 0009 0010 #include <QObject> 0011 #include <QRunnable> 0012 0013 namespace Koko 0014 { 0015 class ReverseGeoCoder; 0016 0017 class ImageProcessorRunnable : public QObject, public QRunnable 0018 { 0019 Q_OBJECT 0020 public: 0021 ImageProcessorRunnable(const QString &filePath, ReverseGeoCoder *coder); 0022 void run() override; 0023 0024 signals: 0025 void finished(); 0026 0027 private: 0028 QString m_path; 0029 ReverseGeoCoder *m_geoCoder; 0030 }; 0031 } 0032 0033 #endif // KOKO_IMAGEPROCESSORRUNNABLE_H