Changeset View
Changeset View
Standalone View
Standalone View
krusader/Search/krsearchdialog.cpp
Show First 20 Lines • Show All 248 Lines • ▼ Show 20 Line(s) | 134 | { | |||
---|---|---|---|---|---|
249 | resultLayout->addLayout(resultLabelLayout, 3, 0); | 249 | resultLayout->addLayout(resultLabelLayout, 3, 0); | ||
250 | 250 | | |||
251 | searcherTabs->addTab(resultTab, i18n("&Results")); | 251 | searcherTabs->addTab(resultTab, i18n("&Results")); | ||
252 | 252 | | |||
253 | searchBaseLayout->addWidget(searcherTabs, 0, 0); | 253 | searchBaseLayout->addWidget(searcherTabs, 0, 0); | ||
254 | 254 | | |||
255 | // signals and slots connections | 255 | // signals and slots connections | ||
256 | 256 | | |||
257 | connect(mainSearchBtn, SIGNAL(clicked()), this, SLOT(startSearch())); | 257 | connect(mainSearchBtn, &QPushButton::clicked, this, &KrSearchDialog::startSearch); | ||
258 | connect(mainStopBtn, SIGNAL(clicked()), this, SLOT(stopSearch())); | 258 | connect(mainStopBtn, &QPushButton::clicked, this, &KrSearchDialog::stopSearch); | ||
259 | connect(mainCloseBtn, SIGNAL(clicked()), this, SLOT(closeDialog())); | 259 | connect(mainCloseBtn, &QPushButton::clicked, this, &KrSearchDialog::closeDialog); | ||
260 | connect(mainFeedToListBoxBtn, SIGNAL(clicked()), this, SLOT(feedToListBox())); | 260 | connect(mainFeedToListBoxBtn, &QPushButton::clicked, this, &KrSearchDialog::feedToListBox); | ||
261 | 261 | | |||
262 | connect(profileManager, SIGNAL(loadFromProfile(QString)), filterTabs, SLOT(loadFromProfile(QString))); | 262 | connect(profileManager, &ProfileManager::loadFromProfile, filterTabs, &FilterTabs::loadFromProfile); | ||
263 | connect(profileManager, SIGNAL(saveToProfile(QString)), filterTabs, SLOT(saveToProfile(QString))); | 263 | connect(profileManager, &ProfileManager::saveToProfile, filterTabs, &FilterTabs::saveToProfile); | ||
264 | 264 | | |||
265 | connect(resultView->op(), SIGNAL(currentChanged(KrViewItem*)), SLOT(currentChanged(KrViewItem*))); | 265 | connect(resultView->op(), &KrViewOperator::currentChanged, this, &KrSearchDialog::currentChanged); | ||
266 | connect(resultView->op(), SIGNAL(executed(QString)), SLOT(executed(QString))); | 266 | connect(resultView->op(), &KrViewOperator::executed, this, &KrSearchDialog::executed); | ||
267 | connect(resultView->op(), SIGNAL(contextMenu(QPoint)), SLOT(contextMenu(QPoint))); | 267 | connect(resultView->op(), &KrViewOperator::contextMenu, this, &KrSearchDialog::contextMenu); | ||
268 | 268 | | |||
269 | // tab order | 269 | // tab order | ||
270 | 270 | | |||
271 | setTabOrder(mainSearchBtn, mainCloseBtn); | 271 | setTabOrder(mainSearchBtn, mainCloseBtn); | ||
272 | setTabOrder(mainCloseBtn, mainStopBtn); | 272 | setTabOrder(mainCloseBtn, mainStopBtn); | ||
273 | setTabOrder(mainStopBtn, searcherTabs); | 273 | setTabOrder(mainStopBtn, searcherTabs); | ||
274 | setTabOrder(searcherTabs, resultView->widget()); | 274 | setTabOrder(searcherTabs, resultView->widget()); | ||
275 | 275 | | |||
▲ Show 20 Lines • Show All 386 Lines • Show Last 20 Lines |