kget
transfersettingsdialog.cpp
Go to the documentation of this file.
56 QByteArray loadedState = QByteArray::fromBase64(Settings::transferSettingsHeaderState().toAscii());
69 connect(ui.treeView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(slotSelectionChanged()));
109 const QModelIndex index = m_proxy->mapToSource(ui.treeView->selectionModel()->selectedIndexes().first());
117 const QModelIndex index = m_proxy->mapToSource(ui.treeView->selectionModel()->selectedIndexes().first());
125 const QModelIndex index = m_proxy->mapToSource(ui.treeView->selectionModel()->selectedIndexes().first());
133 const QModelIndex index = m_proxy->mapToSource(ui.treeView->selectionModel()->selectedIndexes().first());
146 const QModelIndex index = m_proxy->mapToSource(ui.treeView->selectionModel()->selectedIndexes().first());
164 KMessageBox::error(this, i18n("Changing the destination did not work, the destination stays unmodified."), i18n("Destination unmodified"));
static void setTransferSettingsHeaderState(const QString &v)
Set TransferSettingsHeaderState.
Definition: settings.h:40
int width() const
Definition: mirrorsettings.h:63
Definition: transfer.h:90
void stopWatchCheckState()
Emits checkStateChanged if a CheckState of an entry changend.
Definition: filemodel.cpp:689
Definition: filemodel.h:37
virtual void setSourceModel(QAbstractItemModel *sourceModel)
virtual QSize sizeHint() const
Definition: transfersettingsdialog.cpp:83
~TransferSettingsDialog()
Definition: transfersettingsdialog.cpp:76
Definition: transfer.h:75
TransferSettingsDialog(QWidget *parent, TransferHandler *transfer)
Definition: transfersettingsdialog.cpp:26
static QString transferSettingsHeaderState()
Get TransferSettingsHeaderState.
Definition: settings.h:50
bool isEmpty() const
void watchCheckState()
Watches if the check state changes, the result of that will be emitted when stopWatchCheckState() is ...
Definition: filemodel.cpp:684
Definition: signaturedlg.h:30
Transfer::Capabilities capabilities() const
Returns the capabilities the Transfer supports.
Definition: transferhandler.cpp:46
bool isValid() const
void setUploadLimit(int ulLimit, Transfer::SpeedLimit limit)
Set an UploadLimit for the transfer.
Definition: transferhandler.h:172
Definition: transfer.h:73
void setDownloadLimit(int dlLimit, Transfer::SpeedLimit limit)
Set a DownloadLimit for the transfer.
Definition: transferhandler.h:179
void setWidth(int width)
void * internalPointer() const
Definition: transfer.h:76
int uploadLimit(Transfer::SpeedLimit limit) const
Definition: transferhandler.h:184
Subclass to make sure that the size of the dialog is automatically stored and restored.
Definition: basedialog.h:32
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
void setMaximumShareRatio(double ratio)
Set the maximum share-ratio.
Definition: transferhandler.h:195
QByteArray fromBase64(const QByteArray &base64)
bool setDirectory(const KUrl &newDirectory)
Move the download to the new destination.
Definition: transferhandler.h:115
int downloadLimit(Transfer::SpeedLimit limit) const
Definition: transferhandler.h:189
Definition: transfer.h:72
Definition: verificationdialog.h:53
KUrl getUrl(const QModelIndex &index)
The url on the filesystem (no check if the file exists yet!) of index, it can be a folder or file...
Definition: filemodel.cpp:544
Definition: renamefile.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.