kget
mirrorsettings.cpp
Go to the documentation of this file.
34 MirrorAddDlg::MirrorAddDlg(MirrorModel *model, QSortFilterProxyModel *countryModel, QWidget *parent, Qt::WFlags flags)
143 connect(ui.treeView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(updateButton()));
Definition: mirrormodel.h:69
void setHeight(int height)
int width() const
virtual void setSourceModel(QAbstractItemModel *sourceModel)
bool removeRow(int row, const QModelIndex &parent)
Definition: mirrormodel.h:31
void addMirror(const KUrl &url, int numConnections=0, int priority=0, const QString &countryCode=QString())
Definition: mirrormodel.cpp:456
Definition: mirrormodel.h:88
void setMirrors(const QHash< KUrl, QPair< bool, int > > &mirrors)
Definition: mirrormodel.cpp:487
MirrorAddDlg(MirrorModel *model, QWidget *parent=0, Qt::WFlags flags=0)
Definition: mirrorsettings.cpp:26
Definition: mirrormodel.h:49
Definition: mirrormodel.h:70
void setWidth(int width)
MirrorSettings(QWidget *parent, TransferHandler *handler, const KUrl &file)
Definition: mirrorsettings.cpp:121
int row() const
QHash< KUrl, QPair< bool, int > > availableMirrors() const
Definition: mirrormodel.cpp:506
typedef WFlags
Subclass to make sure that the size of the dialog is automatically stored and restored.
Definition: basedialog.h:32
void showItem(MirrorItem::DataType type, bool show)
Shows or hides elements, by default all (expect MirrorItem::Used) are shown.
Definition: mirrorsettings.cpp:72
Definition: mirrorsettings.h:32
void setAvailableMirrors(const KUrl &file, const QHash< KUrl, QPair< bool, int > > &mirrors)
Set the mirrors, int the number of paralell connections to the mirror bool if the mirror should be us...
Definition: transferhandler.h:130
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
char * toString(const T &value)
Definition: mirrormodel.h:71
QHash< KUrl, QPair< bool, int > > availableMirrors(const KUrl &file) const
The mirrors that are available bool if it is used, int how many paralell connections are allowed to t...
Definition: transferhandler.h:123
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.