rssguard/src/librssguard/gui/locationlineedit.h
2019-06-10 09:54:18 +02:00

29 lines
603 B
C++

// For license of this file, see <project-root-folder>/LICENSE.md.
#ifndef LOCATIONLINEEDIT_H
#define LOCATIONLINEEDIT_H
#include "gui/baselineedit.h"
class WebBrowser;
class GoogleSuggest;
class LocationLineEdit : public BaseLineEdit {
Q_OBJECT
public:
// Constructors and destructors.
explicit LocationLineEdit(QWidget* parent = 0);
virtual ~LocationLineEdit();
protected:
void focusOutEvent(QFocusEvent* event);
void mousePressEvent(QMouseEvent* event);
private:
bool m_mouseSelectsAllText;
GoogleSuggest* m_googleSuggest;
};
#endif // LOCATIONLINEEDIT_H