* Default Constructor. You must call init manually if you choose
* to use this constructor.
*/
-QG_CommandEdit::QG_CommandEdit(QWidget * parent, const char */*name*/):
+CommandEdit::CommandEdit(QWidget * parent, const char */*name*/):
// QLineEdit(parent, name)
QLineEdit(parent)
{
/**
* Destructor
*/
-QG_CommandEdit::~QG_CommandEdit()
+CommandEdit::~CommandEdit()
{
it = 0;
}
/**
* Bypass for key press events from the tab key.
*/
-bool QG_CommandEdit::event(QEvent * e)
+bool CommandEdit::event(QEvent * e)
{
if (e->type() == QEvent::KeyPress)
{
/**
* History (arrow key up/down) support, tab.
*/
-void QG_CommandEdit::keyPressEvent(QKeyEvent * e)
+void CommandEdit::keyPressEvent(QKeyEvent * e)
{
switch (e->key())
{
}
}
-void QG_CommandEdit::focusInEvent(QFocusEvent * e)
+void CommandEdit::focusInEvent(QFocusEvent * e)
{
emit focusIn();
QLineEdit::focusInEvent(e);
}
-void QG_CommandEdit::focusOutEvent(QFocusEvent * e)
+void CommandEdit::focusOutEvent(QFocusEvent * e)
{
emit focusOut();
QLineEdit::focusOutEvent(e);