diff options
Diffstat (limited to 'cervisia/diffdlg.cpp')
-rw-r--r-- | cervisia/diffdlg.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/cervisia/diffdlg.cpp b/cervisia/diffdlg.cpp index 1bbcd711..720d3706 100644 --- a/cervisia/diffdlg.cpp +++ b/cervisia/diffdlg.cpp @@ -51,30 +51,30 @@ DiffDialog::DiffDialog(KConfig& cfg, TQWidget *parent, const char *name, bool mo TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); - TQGridLayout *pairtqlayout = new TQGridLayout(tqlayout); - pairtqlayout->setRowStretch(0, 0); - pairtqlayout->setRowStretch(1, 1); - pairtqlayout->setColStretch(1, 0); - pairtqlayout->addColSpacing(1, 16); - pairtqlayout->setColStretch(0, 10); - pairtqlayout->setColStretch(2, 10); + TQGridLayout *pairlayout = new TQGridLayout(layout); + pairlayout->setRowStretch(0, 0); + pairlayout->setRowStretch(1, 1); + pairlayout->setColStretch(1, 0); + pairlayout->addColSpacing(1, 16); + pairlayout->setColStretch(0, 10); + pairlayout->setColStretch(2, 10); revlabel1 = new TQLabel(mainWidget); - pairtqlayout->addWidget(revlabel1, 0, 0); + pairlayout->addWidget(revlabel1, 0, 0); revlabel2 = new TQLabel(mainWidget); - pairtqlayout->addWidget(revlabel2, 0, 2); + pairlayout->addWidget(revlabel2, 0, 2); diff1 = new DiffView(cfg, true, false, mainWidget); diff2 = new DiffView(cfg, true, true, mainWidget); DiffZoomWidget *zoom = new DiffZoomWidget(cfg, mainWidget); zoom->setDiffView(diff2); - pairtqlayout->addWidget(diff1, 1, 0); - pairtqlayout->addWidget(zoom, 1, 1); - pairtqlayout->addWidget(diff2, 1, 2); + pairlayout->addWidget(diff1, 1, 0); + pairlayout->addWidget(zoom, 1, 1); + pairlayout->addWidget(diff2, 1, 2); diff1->setPartner(diff2); diff2->setPartner(diff1); @@ -101,15 +101,15 @@ DiffDialog::DiffDialog(KConfig& cfg, TQWidget *parent, const char *name, bool mo connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(saveAsClicked()) ); - TQBoxLayout *buttontqlayout = new TQHBoxLayout(tqlayout); - buttontqlayout->addWidget(syncbox, 0); - buttontqlayout->addStretch(4); - buttontqlayout->addWidget(itemscombo); - buttontqlayout->addStretch(1); - buttontqlayout->addWidget(nofnlabel); - buttontqlayout->addStretch(1); - buttontqlayout->addWidget(backbutton); - buttontqlayout->addWidget(forwbutton); + TQBoxLayout *buttonlayout = new TQHBoxLayout(layout); + buttonlayout->addWidget(syncbox, 0); + buttonlayout->addStretch(4); + buttonlayout->addWidget(itemscombo); + buttonlayout->addStretch(1); + buttonlayout->addWidget(nofnlabel); + buttonlayout->addStretch(1); + buttonlayout->addWidget(backbutton); + buttonlayout->addWidget(forwbutton); setHelp("diff"); |