File: kcodecactiontest.h

package info (click to toggle)
kf6-kconfigwidgets 6.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,772 kB
  • sloc: cpp: 6,335; sh: 18; makefile: 7
file content (28 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (2)
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
#ifndef KCODECACTION_TEST_H
#define KCODECACTION_TEST_H

#include <QMainWindow>

#include "kcodecaction.h"

class CodecActionTest : public QMainWindow
{
    Q_OBJECT

public:
    CodecActionTest(QWidget *parent = nullptr);

public Q_SLOTS:
    void actionTriggered(QAction *action);
    void indexTriggered(int index);
    void textTriggered(const QString &text);
    void nameTriggered(const QByteArray &name);

    void slotActionTriggered(bool state);

private:
    KCodecAction *m_comboCodec;
    KCodecAction *m_buttonCodec;
};

#endif