Source: kpsk/myqlineedit.h
|
|
|
|
/***************************************************************************
myqlineedit.h - description
-------------------
begin : Sat Jul 15 2000
copyright : (C) 2000 by Luc Langehegermann
email : luc@1409.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MYQLINEEDIT_H
#define MYQLINEEDIT_H
#include
#include
#include
/**
*@author Luc Langehegermann
*/
class myQLineEdit : public QLineEdit {
Q_OBJECT
public:
myQLineEdit(QWidget *parent=0, const char *name=0);
~myQLineEdit();
private slots: // Private slots
void slotTextChanged();
private:
bool state;
protected:
void focusOutEvent ( QFocusEvent *e );
signals:
void newText();
};
class upperValidator : public QValidator
{
public:
upperValidator() : QValidator(0) {};
virtual State validate (QString&, int&) const;
virtual void fixup (QString&);
};
#endif
Generated by: ernie on homer on Fri Aug 30 19:54:09 2002, using kdoc 2.0a53. |