X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fcommandedit.cpp;h=7cf1eb7098c275bf4520d09b160906ed7864bb98;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=95627ba2b292125afcc0234dc5c58c6fa5912877;hpb=e5a77a32dbe17d9534d3099f1fd3fdacba199516;p=architektonas diff --git a/src/widgets/commandedit.cpp b/src/widgets/commandedit.cpp index 95627ba..7cf1eb7 100644 --- a/src/widgets/commandedit.cpp +++ b/src/widgets/commandedit.cpp @@ -16,13 +16,13 @@ #include "commandedit.h" -#include "rs_debug.h" +#include "debug.h" /** * 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);