aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h
blob: 1aad83257fc766d524f8314279a163d0415772fd (plain)
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
//===========================================
//  Copyright (c) 2017, q5sys (JT)
//  Available under the MIT license
//  See the LICENSE file for full details    
//===========================================

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    QString name, genericname, comment, icon, executable, terminal, keywords, catList, categories, iconpath, execpath;
    QString namefield, genericnamefield, commentfield, iconfield, terminalfield,execfield, categoriesfield, keywordfield;

public slots:
    void setIcon();
    void setExec();
    void setCategories();
    void setOtherValues();
    void setDesktopFields();
    void save();


private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
bgstack15