settings_general_widget_saving Class Reference

Widget for the "saving" options in the KStreamRipper configuration (for use with a KConfigDialog). More...

#include <settings_general_widget_saving.h>

List of all members.

Public Member Functions

 settings_general_widget_saving (QWidget *parent=0)
virtual ~settings_general_widget_saving ()

Private Slots

void setDownloadDirAndEnableKCFG (const QString &downloadDirectory)

Detailed Description

Widget for the "saving" options in the KStreamRipper configuration (for use with a KConfigDialog).

It uses the UI that is generated with Qt-Designer.

See also:

Definition at line 32 of file settings_general_widget_saving.h.

Constructor & Destructor Documentation

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().

Here is the call graph for this function:

settings_general_widget_saving::~settings_general_widget_saving (  )  [virtual]

The destructor.

Definition at line 34 of file settings_general_widget_saving.cpp.

Member Function Documentation

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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: