Browse Source

Delete pointless boilerplate comments from uic3.

git-svn-id: file:///var/svn/tigccpp/trunk@1124 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 years ago
parent
commit
c33a98b079
1 changed files with 11 additions and 24 deletions
  1. 11 24
      ktigcc/errorlist.cpp

+ 11 - 24
ktigcc/errorlist.cpp

@@ -31,6 +31,16 @@
 #include <QFocusEvent>
 #include <QKeyEvent>
 
+ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
+  : QWidget(parent, name, fl)
+{
+  setupUi(this);
+}
+
+ErrorList::~ErrorList()
+{
+}
+
 bool ErrorList::event(QEvent *e)
 {
   if (e->type()==QEvent::AccelOverride) {
@@ -59,31 +69,8 @@ void ErrorList::keyPressEvent(QKeyEvent *e)
   } else QWidget::keyPressEvent(e);
 }
 
-/*
- *  Constructs a ErrorList as a child of 'parent', with the
- *  name 'name' and widget flags set to 'f'.
- */
-ErrorList::ErrorList(QWidget* parent, const char* name, Qt::WindowFlags fl)
-    : QWidget(parent, name, fl)
-{
-    setupUi(this);
-
-}
-
-/*
- *  Destroys the object and frees any allocated resources
- */
-ErrorList::~ErrorList()
-{
-    // no need to delete child widgets, Qt does it all for us
-}
-
-/*
- *  Sets the strings of the subwidgets using the current
- *  language.
- */
 void ErrorList::languageChange()
 {
-    retranslateUi(this);
+  retranslateUi(this);
 }