-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddlink.h
56 lines (43 loc) · 1019 Bytes
/
addlink.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
56
#ifndef ADDLINK_H
#define ADDLINK_H
#include <QWidget>
namespace Ui {
class AddLink;
}
class AddLink : public QWidget
{
Q_OBJECT
public:
explicit AddLink(QWidget *parent = 0);
~AddLink();
private slots:
// actions
void on_btn_save_clicked();
void on_btn_create_clicked();
void on_btn_delete_clicked();
// field actions
void on_txt_original_url_textChanged();
void on_txt_medium_textChanged();
void on_txt_source_textChanged();
void on_txt_content_textChanged();
// functions
void fill_fields();
void show_data(QString id);
void introduce_completers();
void randomizator(int zaporedna);
void generator();
QString string_sanitizer(QString word);
// save functions
void save_source();
void save_medium();
void save();
// create new url
void create_url();
// receiver slot
void recieve(QString state);
signals:
void send(QString state);
private:
Ui::AddLink *ui;
};
#endif // ADDLINK_H