File: adddictdialog.h

package info (click to toggle)
fcitx5-skk 5.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: cpp: 1,400; makefile: 3; sh: 1
file content (35 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (4)
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
/*
 * SPDX-FileCopyrightText: 2013~2020 CSSlayer <wengxt@gmail.com>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef ADDDICTDIALOG_H
#define ADDDICTDIALOG_H

#include <memory>
#include <QDialog>
#include <QMap>
#include "ui_adddictdialog.h"

namespace fcitx {

class AddDictDialog : public QDialog {
    Q_OBJECT
public:
    explicit AddDictDialog(QWidget *parent = 0);
    QMap<QString, QString> dictionary();

public Q_SLOTS:
    void browseClicked();
    void indexChanged(int);
    void validate();

private:
    std::unique_ptr<Ui::AddDictDialog> m_ui;
};

} // namespace fcitx

#endif // ADDDICTDIALOG_H