PCManFM-Qt
Toggle main menu visibility
Loading...
Searching...
No Matches
pcmanfm
desktopentrydialog.h
1
#ifndef FM_DESKTOPENTRYDIALOG_H
2
#define FM_DESKTOPENTRYDIALOG_H
3
4
#include <QDialog>
5
#include "ui_desktopentrydialog.h"
6
7
#include <libfm-qt6/core/filepath.h>
8
9
namespace
PCManFM {
10
11
class
LIBFM_QT_API DesktopEntryDialog :
public
QDialog {
12
Q_OBJECT
13
public
:
14
explicit
DesktopEntryDialog(QWidget *parent =
nullptr
,
const
Fm::FilePath& dirPath = Fm::FilePath());
15
16
virtual
~DesktopEntryDialog();
17
18
virtual
void
accept()
override
;
19
20
Q_SIGNALS:
21
void
desktopEntryCreated(
const
Fm::FilePath& parent,
const
QString& name);
22
23
private
Q_SLOTS:
24
void
onChangingType(
int
type);
25
void
onClickingIconButton();
26
void
onClickingCommandButton();
27
28
private
:
29
Ui::DesktopEntryDialog ui;
30
Fm::FilePath dirPath_;
31
32
};
33
34
}
// namespace Fm
35
#endif
// FM_DESKTOPENTRYDIALOG_H
Generated on
for PCManFM-Qt by
1.17.0