Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
Search.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 3/10/23.
3//
4
5#pragma once
6#ifndef ATLAS_SEARCH_HPP
7#define ATLAS_SEARCH_HPP
8
9#include <vector>
10
12
13class QString;
14
15class Search final : public QObject
16{
17 Q_OBJECT
18
19 std::string query {};
20
21 public:
22
23 signals:
25 void searchCompleted( std::vector< atlas::records::Game > );
26
27 public slots:
29 void searchTextChanged( const QString& text ); //, const SortOrder order, const bool asc );
30};
31
32#endif //ATLAS_SEARCH_HPP
Definition Search.hpp:16
std::string query
Definition Search.hpp:19
void searchCompleted(std::vector< atlas::records::Game >)
Emitted when a search is completed.
void searchTextChanged(const QString &text)
Submits a text to get autocompleted.
Definition Search.cpp:13