Changeset View
Changeset View
Standalone View
Standalone View
addons/kate-ctags/kate_ctags_plugin.cpp
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | 78 | { | |||
---|---|---|---|---|---|
83 | m_confUi.addButton->setIcon(QIcon::fromTheme(QStringLiteral("list-add"))); | 83 | m_confUi.addButton->setIcon(QIcon::fromTheme(QStringLiteral("list-add"))); | ||
84 | 84 | | |||
85 | m_confUi.delButton->setToolTip(i18n("Remove a directory.")); | 85 | m_confUi.delButton->setToolTip(i18n("Remove a directory.")); | ||
86 | m_confUi.delButton->setIcon(QIcon::fromTheme(QStringLiteral("list-remove"))); | 86 | m_confUi.delButton->setIcon(QIcon::fromTheme(QStringLiteral("list-remove"))); | ||
87 | 87 | | |||
88 | m_confUi.updateDB->setToolTip(i18n("(Re-)generate the common CTags database.")); | 88 | m_confUi.updateDB->setToolTip(i18n("(Re-)generate the common CTags database.")); | ||
89 | m_confUi.updateDB->setIcon(QIcon::fromTheme(QStringLiteral("view-refresh"))); | 89 | m_confUi.updateDB->setIcon(QIcon::fromTheme(QStringLiteral("view-refresh"))); | ||
90 | 90 | | |||
91 | connect(m_confUi.updateDB, SIGNAL(clicked()), this, SLOT(updateGlobalDB())); | 91 | connect(m_confUi.updateDB, &QPushButton::clicked, this, &KateCTagsConfigPage::updateGlobalDB); | ||
92 | connect(m_confUi.addButton, SIGNAL(clicked()), this, SLOT(addGlobalTagTarget())); | 92 | connect(m_confUi.addButton, &QPushButton::clicked, this, &KateCTagsConfigPage::addGlobalTagTarget); | ||
93 | connect(m_confUi.delButton, SIGNAL(clicked()), this, SLOT(delGlobalTagTarget())); | 93 | connect(m_confUi.delButton, &QPushButton::clicked, this, &KateCTagsConfigPage::delGlobalTagTarget); | ||
94 | 94 | | |||
95 | connect(&m_proc, SIGNAL(finished(int,QProcess::ExitStatus)), | 95 | connect(&m_proc, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), | ||
96 | this, SLOT(updateDone(int,QProcess::ExitStatus))); | 96 | this, &KateCTagsConfigPage::updateDone); | ||
97 | 97 | | |||
98 | reset(); | 98 | reset(); | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | /******************************************************************/ | 101 | /******************************************************************/ | ||
102 | QString KateCTagsConfigPage::name() const | 102 | QString KateCTagsConfigPage::name() const | ||
103 | { | 103 | { | ||
104 | return i18n("CTags"); | 104 | return i18n("CTags"); | ||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |