X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fcommandedit.cpp;h=f470009dbd5773f3ce1e888d5db4e9340b12acd5;hb=af32602b9d8075080d5805143f1cd47fc10672e1;hp=95627ba2b292125afcc0234dc5c58c6fa5912877;hpb=e5a77a32dbe17d9534d3099f1fd3fdacba199516;p=architektonas diff --git a/src/widgets/commandedit.cpp b/src/widgets/commandedit.cpp index 95627ba..f470009 100644 --- a/src/widgets/commandedit.cpp +++ b/src/widgets/commandedit.cpp @@ -22,7 +22,7 @@ * 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) { @@ -31,7 +31,7 @@ QG_CommandEdit::QG_CommandEdit(QWidget * parent, const char */*name*/): /** * Destructor */ -QG_CommandEdit::~QG_CommandEdit() +CommandEdit::~CommandEdit() { it = 0; } @@ -39,7 +39,7 @@ QG_CommandEdit::~QG_CommandEdit() /** * 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) { @@ -58,7 +58,7 @@ bool QG_CommandEdit::event(QEvent * e) /** * History (arrow key up/down) support, tab. */ -void QG_CommandEdit::keyPressEvent(QKeyEvent * e) +void CommandEdit::keyPressEvent(QKeyEvent * e) { switch (e->key()) { @@ -105,14 +105,14 @@ void QG_CommandEdit::keyPressEvent(QKeyEvent * e) } } -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);