File indexing completed on 2025-01-05 05:23:54
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2010 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_BYTEARRAYXXENCODINGSTREAMENCODERCONFIGEDITOR_HPP 0010 #define KASTEN_BYTEARRAYXXENCODINGSTREAMENCODERCONFIGEDITOR_HPP 0011 0012 // lib 0013 #include "bytearrayxxencodingstreamencoder.hpp" 0014 // Kasten gui 0015 #include <Kasten/AbstractModelStreamEncoderConfigEditor> 0016 0017 class KComboBox; 0018 class QLineEdit; 0019 0020 namespace Kasten { 0021 0022 class ByteArrayXxencodingStreamEncoderConfigEditor : public AbstractModelStreamEncoderConfigEditor 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 explicit ByteArrayXxencodingStreamEncoderConfigEditor(ByteArrayXxencodingStreamEncoder* encoder, QWidget* parent = nullptr); 0028 ~ByteArrayXxencodingStreamEncoderConfigEditor() override; 0029 0030 public: // AbstractModelStreamEncoderConfigEditor API 0031 AbstractSelectionView* createPreviewView() const override; 0032 0033 private Q_SLOTS: 0034 void onSettingsChanged(); 0035 0036 private: 0037 ByteArrayXxencodingStreamEncoder* mEncoder; 0038 XxencodingStreamEncoderSettings mSettings; 0039 0040 QLineEdit* mFileNameEdit; 0041 }; 0042 0043 } 0044 0045 #endif