]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/commandedit.cpp
Sanity check stage II: rename classes...
[architektonas] / src / widgets / commandedit.cpp
index 95627ba2b292125afcc0234dc5c58c6fa5912877..f470009dbd5773f3ce1e888d5db4e9340b12acd5 100644 (file)
@@ -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);