|
|
@ -298,7 +298,7 @@ void MainWindow::timerResize() {
|
|
|
|
|
|
|
|
|
|
|
|
void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) {
|
|
|
|
void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) {
|
|
|
|
if ( currentModule->aboutData() ) {
|
|
|
|
if ( currentModule->aboutData() ) {
|
|
|
|
aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").tqarg(
|
|
|
|
aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").arg(
|
|
|
|
currentModule->moduleInfo().moduleName().replace("&","&&")));
|
|
|
|
currentModule->moduleInfo().moduleName().replace("&","&&")));
|
|
|
|
aboutModuleAction->setIcon(currentModule->moduleInfo().icon());
|
|
|
|
aboutModuleAction->setIcon(currentModule->moduleInfo().icon());
|
|
|
|
aboutModuleAction->setEnabled(true);
|
|
|
|
aboutModuleAction->setEnabled(true);
|
|
|
@ -349,11 +349,11 @@ void MainWindow::slotSearchHits(const TQString &query, int *hitList, int length)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
if(length>=1) {
|
|
|
|
if(length>=1) {
|
|
|
|
generalHitLabel->setText(i18n("%1 hit in General","%1 hits in General",hitList[0]).tqarg(hitList[0]));
|
|
|
|
generalHitLabel->setText(i18n("%1 hit in General","%1 hits in General",hitList[0]).arg(hitList[0]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(length>=2) {
|
|
|
|
if(length>=2) {
|
|
|
|
advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).tqarg(hitList[1]));
|
|
|
|
advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).arg(hitList[1]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|