LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
backendselector.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <memory>
12#include <QWidget>
13#include "dbconfig.h"
14
15namespace Ui
16{
17 class BackendSelector;
18};
19
20namespace LC::Util
21{
23
62 class UTIL_DB_API BackendSelector : public QWidget
63 {
64 Q_OBJECT
65
66 std::unique_ptr<Ui::BackendSelector> Ui_;
67 BaseSettingsManager *Manager_;
68 public:
78 explicit BackendSelector (BaseSettingsManager *manager, QWidget *parent = nullptr);
79 ~BackendSelector () override;
80 private:
81 void FillUI ();
82 public slots:
88 void accept ();
89
95 void reject ();
96 };
97}
A common dialog to select storage backend.
#define UTIL_DB_API
Definition dbconfig.h:16
Container< T > Filter(const Container< T > &c, F f)
Definition prelude.h:118