| 32 | #include <QTextCodec> |
| 33 | |
| 34 | class frmOptions : public QDialog { |
| 35 | Q_OBJECT |
| 36 | public: |
| 37 | frmOptions(QWidget *parent = 0, Qt::WindowFlags f = 0); |
| 38 | ~frmOptions(); |
| 39 | |
| 40 | public slots: |
| 41 | void writeConfig(); |
| 42 | void readConfig(const QNapiConfig &config); |
| 43 | |
| 44 | private slots: |
| 45 | void le7zPathChanged(); |
| 46 | void select7zPath(); |
| 47 | void leTmpPathChanged(); |
| 48 | void selectTmpPath(); |
| 49 | |
| 50 | void twEnginesSelectionChanged(); |
| 51 | void twEnginesItemChanged(QTableWidgetItem *item); |
| 52 | void pbMoveUpClicked(); |
| 53 | void pbMoveDownClicked(); |
| 54 | void pbEngineConfClicked(); |
| 55 | void pbEngineInfoClicked(); |
| 56 | |
| 57 | void subFormatChanged(int format); |
| 58 | void encodingMethodChanged(int method); |
| 59 | void autoDetectEncodingClicked(); |
| 60 | void showAllEncodingsClicked(); |
| 61 | |
| 62 | void restoreDefaults(); |
| 63 | |
| 64 | private: |
| 65 | Ui::frmOptions ui; |
| 66 | |
| 67 | QSharedPointer<const SubtitleFormatsRegistry> subtitleFormatsRegistry; |
| 68 | QSharedPointer<const SubtitleDownloadEnginesRegistry> enginesRegistry; |
| 69 | |
| 70 | void showAllEncodings(); |
| 71 | }; |
| 72 | |
| 73 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected