Pārlūkot izejas kodu

Delete pointless boilerplate comments from uic3.

git-svn-id: file:///var/svn/tigccpp/trunk@1124 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 gadi atpakaļ
vecāks
revīzija
c33a98b079
1 mainītis faili ar 11 papildinājumiem un 24 dzēšanām
  1. 11 24
      ktigcc/errorlist.cpp

+ 11 - 24
ktigcc/errorlist.cpp

@@ -31,6 +31,16 @@
 #include <QFocusEvent>
 #include <QFocusEvent>
 #include <QKeyEvent>
 #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)
 bool ErrorList::event(QEvent *e)
 {
 {
   if (e->type()==QEvent::AccelOverride) {
   if (e->type()==QEvent::AccelOverride) {
@@ -59,31 +69,8 @@ void ErrorList::keyPressEvent(QKeyEvent *e)
   } else QWidget::keyPressEvent(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()
 void ErrorList::languageChange()
 {
 {
-    retranslateUi(this);
+  retranslateUi(this);
 }
 }