diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /cervisia/diffdlg.cpp | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
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"); |