diff options
Diffstat (limited to 'kbruch/src/statisticsview.cpp')
-rw-r--r-- | kbruch/src/statisticsview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kbruch/src/statisticsview.cpp b/kbruch/src/statisticsview.cpp index 9dfabd01..2d51a653 100644 --- a/kbruch/src/statisticsview.cpp +++ b/kbruch/src/statisticsview.cpp @@ -48,17 +48,17 @@ StatisticsView::StatisticsView(TQWidget * parent, const char * name): /* set the caption of the window */ // setCaption(i18n("Statistics")); - /* add a tqlayout as a base */ - tqlayout1 = new TQVBoxLayout(this); - tqlayout1->setSpacing(6); - tqlayout1->setMargin(6); + /* add a layout as a base */ + layout1 = new TQVBoxLayout(this); + layout1->setSpacing(6); + layout1->setMargin(6); /* now add a v-spacer */ TQSpacerItem * v_spacer = new TQSpacerItem(1, 1); - tqlayout1->addItem(v_spacer); + layout1->addItem(v_spacer); /* create a grid to show the labels */ - labelGrid = new TQGridLayout(tqlayout1, 3, 2); + labelGrid = new TQGridLayout(layout1, 3, 2); /* add 6 labels to the grid */ info1Label = new TQLabel(this); @@ -112,10 +112,10 @@ StatisticsView::StatisticsView(TQWidget * parent, const char * name): /* now add a v-spacer */ v_spacer = new TQSpacerItem(1, 1); - tqlayout1->addItem(v_spacer); + layout1->addItem(v_spacer); /* the Reset button */ - buttonLayout = new TQHBoxLayout(tqlayout1); + buttonLayout = new TQHBoxLayout(layout1); resetBtn = new TQPushButton(i18n("&Reset"), this); TQObject::connect(resetBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetStatistics())); buttonLayout->addWidget(resetBtn); |