File: mainwindow.h

package info (click to toggle)
libkgapi5 22.12.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,452 kB
  • sloc: cpp: 29,921; ansic: 979; xml: 142; makefile: 18; sh: 1
file content (36 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
    SPDX-FileCopyrightText: 2012 Jan Grulich <jgrulich@redhat.com>

    SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/

#pragma once

#include <QMainWindow>

#include <libkgapi2/staticmaps/staticmapmarker.h>
#include <libkgapi2/staticmaps/staticmaptilefetchjob.h>

namespace Ui
{
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow() override;

public Q_SLOTS:
    void getImage();
    void addMarker();
    void slotTileFetched(KGAPI2::Job *);

private:
    Ui::MainWindow *m_ui;

    QList<KGAPI2::StaticMapMarker> m_markers;
};