Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/Portal/portal.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

81 lines
1.5 KiB
C++
Executable File

/**
* @RDE_HEADER@
* SideBar
* $Id$
* $HeadURL$
* $Author$
* Created by Norbert Thoden, NLSE, 2018-10-08
*/
#pragma once
// Own
#include "portal_export.h"
#include <Common/situation_map_logging.h>
// Qt
#include <QObject>
namespace Esri {
namespace ArcGISRuntime {
class Error;
class PortalQueryResultSetForItems;
class PortalQueryResultSetForGroups;
}
}
class QModelIndex;
class QStandardItem;
//----------------------------------------------------------------------------
namespace SituationMap
{
class SITUATIONMAPPORTAL_EXPORT Portal : public QObject
{
using BaseClass = QObject;
Q_OBJECT
public:
explicit Portal(QObject *parent = nullptr);
virtual ~Portal();
bool init();
bool fetchData();
signals:
protected Q_SLOTS:
void onPortalErrorOccurred(const Esri::ArcGISRuntime::Error &error);
void onPortalDoneLoading(const Esri::ArcGISRuntime::Error &loadError);
void onBasemapsChanged();
void onFeaturedGroupsChanged();
void onFeaturedItemsChanged();
void onHomepageFeatureContentChanged();
void onFindItemsCompleted(Esri::ArcGISRuntime::PortalQueryResultSetForItems* result);
void onFindGroupsCompleted(Esri::ArcGISRuntime::PortalQueryResultSetForGroups* result);
private:
private:
class Private;
/**
* The private d-pointer to not break BC when changing internals of this class
*/
Private *d = nullptr;
LOGGER_T m_logger; ///< Interface of the Logging-Facility
};
} // namespace SituationMap