File indexing completed on 2024-04-28 07:41:56
0001 #ifndef KCODECACTION_TEST_H 0002 #define KCODECACTION_TEST_H 0003 0004 #include <QMainWindow> 0005 0006 #include "kcodecaction.h" 0007 0008 class CodecActionTest : public QMainWindow 0009 { 0010 Q_OBJECT 0011 0012 public: 0013 CodecActionTest(QWidget *parent = nullptr); 0014 0015 public Q_SLOTS: 0016 void actionTriggered(QAction *action); 0017 void indexTriggered(int index); 0018 void textTriggered(const QString &text); 0019 void nameTriggered(const QByteArray &name); 0020 0021 void slotActionTriggered(bool state); 0022 0023 private: 0024 KCodecAction *m_comboCodec; 0025 KCodecAction *m_buttonCodec; 0026 }; 0027 0028 #endif