Changeset View
Changeset View
Standalone View
Standalone View
addons/filebrowser/katefilebrowserconfig.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 72 | { | |||
---|---|---|---|---|---|
80 | acSel->setAvailableLabel( i18n("A&vailable actions:") ); | 80 | acSel->setAvailableLabel( i18n("A&vailable actions:") ); | ||
81 | acSel->setSelectedLabel( i18n("S&elected actions:") ); | 81 | acSel->setSelectedLabel( i18n("S&elected actions:") ); | ||
82 | 82 | | |||
83 | QVBoxLayout *vbox = new QVBoxLayout; | 83 | QVBoxLayout *vbox = new QVBoxLayout; | ||
84 | vbox->addWidget(acSel); | 84 | vbox->addWidget(acSel); | ||
85 | gbToolbar->setLayout(vbox); | 85 | gbToolbar->setLayout(vbox); | ||
86 | 86 | | |||
87 | lo->addWidget( gbToolbar ); | 87 | lo->addWidget( gbToolbar ); | ||
88 | connect( acSel, SIGNAL(added(QListWidgetItem*)), this, SLOT(slotMyChanged()) ); | 88 | connect(acSel, &KActionSelector::added, this, &KateFileBrowserConfigPage::slotMyChanged); | ||
89 | connect( acSel, SIGNAL(removed(QListWidgetItem*)), this, SLOT(slotMyChanged()) ); | 89 | connect(acSel, &KActionSelector::removed, this, &KateFileBrowserConfigPage::slotMyChanged); | ||
90 | connect( acSel, SIGNAL(movedUp(QListWidgetItem*)), this, SLOT(slotMyChanged()) ); | 90 | connect(acSel, &KActionSelector::movedUp, this, &KateFileBrowserConfigPage::slotMyChanged); | ||
91 | connect( acSel, SIGNAL(movedDown(QListWidgetItem*)), this, SLOT(slotMyChanged()) ); | 91 | connect(acSel, &KActionSelector::movedDown, this, &KateFileBrowserConfigPage::slotMyChanged); | ||
92 | 92 | | |||
93 | // make it look nice | 93 | // make it look nice | ||
94 | lo->addStretch( 1 ); | 94 | lo->addStretch( 1 ); | ||
95 | 95 | | |||
96 | init(); | 96 | init(); | ||
97 | } | 97 | } | ||
98 | 98 | | |||
99 | QString KateFileBrowserConfigPage::name() const | 99 | QString KateFileBrowserConfigPage::name() const | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |