mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 11:04:25 -04:00
Remove YACReader::SearchModifiers
They are no longer used
This commit is contained in:
@ -27,7 +27,7 @@ private:
|
||||
|
||||
signals:
|
||||
// convenience signal for YACReaderLibrary search edit
|
||||
void filterChanged(YACReader::SearchModifiers, QString);
|
||||
void filterChanged(QString);
|
||||
};
|
||||
|
||||
class MacToolBarItemWrapper : public QObject
|
||||
|
@ -145,7 +145,7 @@
|
||||
{
|
||||
NSTextField *textField = [notification object];
|
||||
NSLog(@"%@", [textField stringValue]);
|
||||
Q_EMIT mylineedit->filterChanged(YACReader::NoModifiers, QString::fromNSString([textField stringValue]));
|
||||
Q_EMIT mylineedit->filterChanged(QString::fromNSString([textField stringValue]));
|
||||
}
|
||||
|
||||
@end
|
||||
@ -336,7 +336,7 @@ QString YACReaderMacOSXSearchLineEdit::text()
|
||||
void YACReaderMacOSXSearchLineEdit::clear()
|
||||
{
|
||||
[((NSTextField *)nstextfield) setStringValue:@""];
|
||||
emit filterChanged(YACReader::NoModifiers, "");
|
||||
emit filterChanged("");
|
||||
}
|
||||
|
||||
void YACReaderMacOSXSearchLineEdit::clearText()
|
||||
|
@ -89,5 +89,5 @@ void YACReaderSearchLineEdit::updateCloseButton(const QString &text)
|
||||
|
||||
void YACReaderSearchLineEdit::processText(const QString &text)
|
||||
{
|
||||
emit filterChanged(YACReader::NoModifiers, text);
|
||||
emit filterChanged(text);
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ protected:
|
||||
void resizeEvent(QResizeEvent *);
|
||||
|
||||
signals:
|
||||
void filterChanged(const YACReader::SearchModifiers, QString);
|
||||
void filterChanged(QString);
|
||||
|
||||
private slots:
|
||||
void updateCloseButton(const QString &text);
|
||||
|
Reference in New Issue
Block a user