-
Notifications
You must be signed in to change notification settings - Fork 1
/
newsbasedon.h
55 lines (40 loc) · 1.13 KB
/
newsbasedon.h
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef NEWSBASEDON_H
#define NEWSBASEDON_H
#include <QMainWindow>
#include"stdafx.h"
namespace Ui {
class Newsbasedon;
}
class Newsbasedon : public QMainWindow
{
Q_OBJECT
public:
explicit Newsbasedon(QWidget *parent = nullptr);
~Newsbasedon();
private slots:
void on_pushButton_Category_clicked();
void on_pushButton_back_clicked();
void on_pushButton_showNew_clicked();
void on_pushButton_showTitle_clicked();
void on_pushButton_Rate_clicked();
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_Time_clicked();
void on_pushButton_descendingRate_clicked();
public:
string currentCat;
string currentTitle;
static int currentNew;
static vector<bool>checked;
void ShowNewBasedOnDate();
void ShowNewBasedOnCategory();
void ShowNewBasedOnRating();
void selectTitleToCategory();
int selectTrendingTitles();
void PushTitlesIntoComboBox();
void ShowNewBasedOnDescendingRating();
void RemoveDublicates();
private:
Ui::Newsbasedon *ui;
};
#endif // NEWSBASEDON_H