mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 01:56:43 +00:00 
			
		
		
		
	Remove some useless includes from the launcher See merge request OpenMW/openmw!775 (cherry picked from commit a84bd643b334eb6ac715681c497184ac22212ced) d3fff8cf Remove some useless includes from the launcher
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			821 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			821 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /****************************************************************************
 | |
| **
 | |
| ** Copyright (c) 2007 Trolltech ASA <info@trolltech.com>
 | |
| **
 | |
| ** Use, modification and distribution is allowed without limitation,
 | |
| ** warranty, liability or support of any kind.
 | |
| **
 | |
| ****************************************************************************/
 | |
| 
 | |
| #ifndef LINEEDIT_H
 | |
| #define LINEEDIT_H
 | |
| 
 | |
| #include <QLineEdit>
 | |
| #include <QStylePainter>
 | |
| #include <QToolButton>
 | |
| 
 | |
| class QToolButton;
 | |
| 
 | |
| class LineEdit : public QLineEdit
 | |
| {
 | |
|     Q_OBJECT
 | |
| 
 | |
|     QString mPlaceholderText;
 | |
| 
 | |
| public:
 | |
|     LineEdit(QWidget *parent = nullptr);
 | |
| 
 | |
| protected:
 | |
|     void resizeEvent(QResizeEvent *) override;
 | |
| 
 | |
| private slots:
 | |
|     void updateClearButton(const QString &text);
 | |
| 
 | |
| protected:
 | |
|     QToolButton *mClearButton;
 | |
| 
 | |
|     void setupClearButton();
 | |
| };
 | |
| 
 | |
| #endif // LIENEDIT_H
 | |
| 
 |