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
11
#include "
core/database/record/game/Game.hpp
"
12
13
class
QString;
14
15
class
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
Game.hpp
Search
Definition
Search.hpp:16
Search::query
std::string query
Definition
Search.hpp:19
Search::searchCompleted
void searchCompleted(std::vector< atlas::records::Game >)
Emitted when a search is completed.
Search::searchTextChanged
void searchTextChanged(const QString &text)
Submits a text to get autocompleted.
Definition
Search.cpp:13
atlas
core
database
Search.hpp
Generated by
1.13.2