kget
integrationpreferences.cpp
Go to the documentation of this file.
46 AutoPasteDelegate *delegate = new AutoPasteDelegate(ui.type->model(), ui.patternSyntax->model(), this);
57 connect(ui.list->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(slotUpdateButtons()));
82 const bool indexValid = index.isValid() && (ui.list->selectionModel()->selectedRows().count() == 1);
94 AutoPasteModel::TypeData type = static_cast<AutoPasteModel::TypeData>(ui.type->itemData(ui.type->currentIndex()).toInt());
95 AutoPasteModel::PatternSyntaxData syntax = static_cast<AutoPasteModel::PatternSyntaxData>(ui.patternSyntax->itemData(ui.patternSyntax->currentIndex()).toInt());
Definition: autopastemodel.h:44
int rowCount(const QModelIndex &index=QModelIndex()) const
Definition: autopastemodel.cpp:148
bool removeRow(int row, const QModelIndex &parent)
bool isNull() const
Definition: autopastemodel.h:60
bool isValid() const
Definition: autopastemodel.h:55
Definition: autopastemodel.h:59
bool isEmpty() const
QModelIndexList selectedRows(int column) const
int row() const
bool hasSelection() const
Definition: autopastemodel.h:26
Definition: autopastemodel.h:50
QByteArray fromBase64(const QByteArray &base64)
bool moveItem(int sourceRow, int destinationRow)
Moves an item to a new position.
Definition: autopastemodel.cpp:297
void addItem(TypeData dataType, PatternSyntaxData patternSyntax, const QString &pattern)
Adds an an item.
Definition: autopastemodel.cpp:275
IntegrationPreferences(KConfigDialog *parent, Qt::WindowFlags f=0)
Definition: integrationpreferences.cpp:26
typedef WindowFlags
Definition: autopastemodel.h:56
~IntegrationPreferences()
Definition: integrationpreferences.cpp:72
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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.