#include <settings_stream_widget_saving.h>
Public Member Functions | |
settings_stream_widget_saving (QWidget *parent=0) | |
virtual | ~settings_stream_widget_saving () |
Private Slots | |
void | handleCheckboxTruncate (const int entry_number) |
It uses the UI that is generated with Qt-Designer.
Definition at line 32 of file settings_stream_widget_saving.h.
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().
settings_stream_widget_saving::~settings_stream_widget_saving | ( | ) | [virtual] |
The destructor.
Definition at line 44 of file settings_stream_widget_saving.cpp.
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
.
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().