@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Preferences</class>
<widget class="QDialog" name="Preferences">
<class>OptionsDialog</class>
<widget class="QDialog" name="OptionsDialog">
<property name="geometry">
<rect>
<x>0</x>
@ -1363,7 +1363,7 @@
<y>0</y>
<width>497</width>
<width>457</width>
<height>672</height>
</rect>
</property>
@ -1836,8 +1836,8 @@
<width>510</width>
<height>538</height>
<width>388</width>
<height>452</height>
<layout class="QVBoxLayout" name="verticalLayout_5">
@ -31,9 +31,12 @@
#ifndef OPTIONS_IMP_H
#define OPTIONS_IMP_H
#include "ui_options.h"
#include <QButtonGroup>
#include <QDialog>
class QAbstractButton;
class QCloseEvent;
class QListWidgetItem;
class AdvancedSettings;
// actions on double-click on torrents
@ -44,7 +47,12 @@ enum DoubleClickAction
NO_ACTION
};
class options_imp: public QDialog, private Ui_Preferences
namespace Ui
{
class OptionsDialog;
}
class options_imp: public QDialog
Q_OBJECT
private:
@ -164,6 +172,7 @@ private:
bool webUIAuthenticationOk();
Ui::OptionsDialog *m_ui;
QButtonGroup choiceLanguage;
QAbstractButton *applyButton;
AdvancedSettings *advancedSettings;