settings_stream_widget_saving Class Reference

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

#include <settings_stream_widget_saving.h>

List of all members.

Public Member Functions

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

Private Slots

void handleCheckboxTruncate (const int entry_number)


Detailed Description

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

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

See also:
settings_stream

Definition at line 32 of file settings_stream_widget_saving.h.


Constructor & Destructor Documentation

settings_stream_widget_saving::settings_stream_widget_saving ( QWidget *  parent = 0  ) 

The constructor.

Definition at line 23 of file settings_stream_widget_saving.cpp.

References handleCheckboxTruncate().

Here is the call graph for this function:

settings_stream_widget_saving::~settings_stream_widget_saving (  )  [virtual]

The destructor.

Definition at line 44 of file settings_stream_widget_saving.cpp.


Member Function Documentation

void settings_stream_widget_saving::handleCheckboxTruncate ( const int  entry_number  )  [private, slot]

If duplicate files will be overwritten "always", than we disable the checkbox kcfg_truncateDuplicatesInIncomplete because there won't exist any duplicate. If they are overwritten "if larger" or "never", than there could exist duplicates, so we enable the checkbox kcfg_truncateDuplicatesInIncomplete.

This behavior can't be realized in Qt-Designer, so it is coded here.

The constructor connects this slot to the signal currentIndexChanged(int) from the ComboBox kcfg_splittedFilesOverwrite.

Parameters:
entry_number The number of the entry that has been chosen in the ComboBox kcfg_splittedFilesOverwrite.

Definition at line 48 of file settings_stream_widget_saving.cpp.

Referenced by settings_stream_widget_saving().

Here is the caller graph for this function:


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

doxygen