#include <settings_general_widget_saving.h>
Public Member Functions | |
settings_general_widget_saving (QWidget *parent=0) | |
virtual | ~settings_general_widget_saving () |
Private Slots | |
void | setDownloadDirAndEnableKCFG (const QString &downloadDirectory) |
It uses the UI that is generated with Qt-Designer.
Definition at line 32 of file settings_general_widget_saving.h.
settings_general_widget_saving::settings_general_widget_saving | ( | QWidget * | parent = 0 |
) |
The constructor.
Definition at line 23 of file settings_general_widget_saving.cpp.
References setDownloadDirAndEnableKCFG().
settings_general_widget_saving::~settings_general_widget_saving | ( | ) | [virtual] |
The destructor.
Definition at line 34 of file settings_general_widget_saving.cpp.
void settings_general_widget_saving::setDownloadDirAndEnableKCFG | ( | const QString & | downloadDirectory | ) | [private, slot] |
The field "saveDirectory" in KCFG has type "Path". This is not compatible with KUrlRequester. So we need to use an invisible QLineEdit (kcfg_saveDirectory) to access the configuration. Once this field was inicialized, this slot is called, who actualizes the KUrlRequester (saveDirectory) and enables that further changes that the user makes in KUrlRequester are transmitted to the QLineEdit.
Definition at line 38 of file settings_general_widget_saving.cpp.
Referenced by settings_general_widget_saving().