Debian Codegraph @

qt6/quickphrase-editor/editordialog.h

raw
1 /*
2 * SPDX-FileCopyrightText: 2012~2017 CSSlayer <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7 #ifndef _QUICKPHRASE_EDITOR_EDITORDIALOG_H_
8 #define _QUICKPHRASE_EDITOR_EDITORDIALOG_H_
9
10 #include "ui_editordialog.h"
11 #include <QDialog>
12
13 namespace fcitx {
14 class EditorDialog : public QDialog, public Ui::EditorDialog {
15 Q_OBJECT
16 public:
17 explicit EditorDialog(QWidget *parent = 0);
18 virtual ~EditorDialog();
19
20 QString key() const;
21 QString value() const;
22 void setValue(const QString &s);
23 void setKey(const QString &s);
24 };
25 } // namespace fcitx
26
27 #endif // _QUICKPHRASE_EDITOR_EDITORDIALOG_H_