|
|
@ -75,11 +75,9 @@ static TQLabel* switchLabel[switchLabelCount] = {showEverything, showApplication
|
|
|
|
editSearch->setMaxCount(MAX_HISTORY_ITEMS);
|
|
|
|
editSearch->setMaxCount(MAX_HISTORY_ITEMS);
|
|
|
|
editSearch->setDuplicatesEnabled(false);
|
|
|
|
editSearch->setDuplicatesEnabled(false);
|
|
|
|
|
|
|
|
|
|
|
|
#if KDE_IS_VERSION( 3, 5, 4 )
|
|
|
|
|
|
|
|
KLineEdit *lineedit = new KLineEdit(editSearch);
|
|
|
|
KLineEdit *lineedit = new KLineEdit(editSearch);
|
|
|
|
lineedit->setClickMessage(i18n( "Applications, Contacts, Conversations, Files and more..." ) );
|
|
|
|
lineedit->setClickMessage(i18n( "Applications, Contacts, Conversations, Files and more..." ) );
|
|
|
|
editSearch->setLineEdit(lineedit);
|
|
|
|
editSearch->setLineEdit(lineedit);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(editSearch->lineEdit(), TQT_SIGNAL(returnPressed()), TQT_SLOT(search()));
|
|
|
|
connect(editSearch->lineEdit(), TQT_SIGNAL(returnPressed()), TQT_SLOT(search()));
|
|
|
|
connect(editSearch->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(searchChanged(const TQString &)));
|
|
|
|
connect(editSearch->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(searchChanged(const TQString &)));
|
|
|
|