lokalize
tmmanager.cpp
Go to the documentation of this file.
78 connect(m_tmListWidget,SIGNAL(activated(QModelIndex)),this,SLOT(slotItemActivated(QModelIndex)));
106 setCaption( dbName.isEmpty()?i18nc("@title:window","New Translation Memory"):i18nc("@title:window","Translation Memory Properties"));
121 sourceLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode( Project::instance()->sourceLangCode() ));
122 targetLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode( Project::instance()->targetLangCode() ));
154 if (!connectionBox->isVisible() || name->text().isEmpty() || dbHost->currentText().isEmpty() || dbName->text().isEmpty() || dbUser->text().isEmpty())
181 sourceLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode(openDBJob->m_tmConfig.sourceLangCode));
182 targetLang->setCurrentIndex(LanguageListModel::instance()->sortModelRowForLangCode(openDBJob->m_tmConfig.targetLangCode));
213 connect(openDBJob,SIGNAL(done(ThreadWeaver::Job*)),DBFilesModel::instance(),SLOT(updateProjectTmIndex()));
218 openDBJob->m_tmConfig.sourceLangCode=LanguageListModel::instance()->langCodeForSortModelRow(sourceLang->currentIndex());
219 openDBJob->m_tmConfig.targetLangCode=LanguageListModel::instance()->langCodeForSortModelRow(targetLang->currentIndex());
void setInterval(int msec)
static LanguageListModel * instance()
Definition: languagelistmodel.cpp:46
int scanRecursive(const QList< QUrl > &urls, const QString &dbName)
wrapper. returns gross number of jobs started
Definition: tmscanapi.cpp:92
Definition: jobs.h:329
void setCurrentIndex(const QModelIndex &index)
QStringList drivers()
bool contains(const QString &str, Qt::CaseSensitivity cs) const
QString langCodeForSortModelRow(int)
Definition: languagelistmodel.cpp:124
Definition: jobs.h:43
bool isValid() const
void append(const T &value)
bool isEmpty() const
int row() const
DBPropertiesDialog(QWidget *parent, const QString &name=QString())
Definition: tmmanager.cpp:101
Definition: jobs.h:74
QPersistentModelIndex * projectDBIndex() const
Definition: dbfilesmodel.h:73
Definition: jobs.h:78
Definition: tmmanager.h:70
QModelIndex sibling(int row, int column) const
QModelIndex currentIndex() const
Definition: jobs.h:303
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 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:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.