diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:05:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:05:11 -0600 |
commit | 864fecb39f6313d72b603a4e3971bae44f09fa10 (patch) | |
tree | 8253cdf5f83b4b88e77a6512861012fd5242490a /src/knowitlink.cpp | |
parent | 98fe2a53a79a3c1ae295d0bd3b4346ae89a8fa9d (diff) | |
download | knowit-864fecb39f6313d72b603a4e3971bae44f09fa10.tar.gz knowit-864fecb39f6313d72b603a4e3971bae44f09fa10.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/knowitlink.cpp')
-rw-r--r-- | src/knowitlink.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/knowitlink.cpp b/src/knowitlink.cpp index a137dd2..00afeb7 100644 --- a/src/knowitlink.cpp +++ b/src/knowitlink.cpp @@ -33,27 +33,27 @@ KnowitLinkDialog::KnowitLinkDialog() : KDialogBase(Plain, i18n("Modify link"), Ok|Cancel, Ok) { - TQVBoxLayout* tqlayout = new TQVBoxLayout(plainPage()); + TQVBoxLayout* layout = new TQVBoxLayout(plainPage()); TQHBox* typeBox = new TQHBox(plainPage()); - tqlayout->addWidget(typeBox); + layout->addWidget(typeBox); new TQLabel(i18n("Referenced item:"), typeBox); linkType = new KComboBox(typeBox, "LinkType"); linkType->insertItem(i18n("File or URL")); linkType->insertItem(i18n("KnowIt note")); - tqlayout->addItem(new TQSpacerItem(0, 5)); + layout->addItem(new TQSpacerItem(0, 5)); TQHBox* editBox = new TQHBox(plainPage()); - tqlayout->addWidget(editBox); + layout->addWidget(editBox); linkValue = new KLineEdit("Link text", editBox); linkValue->setMinimumWidth(300); browse = new TQToolButton(editBox, "Browse"); browse->setIconSet(TQIconSet(KGlobal::iconLoader()->loadIcon("fileopen", KIcon::Toolbar, KIcon::SizeSmall))); - tqlayout->addItem(new TQSpacerItem(0, 5)); - tqlayout->addWidget(new TQLabel(i18n("Link description:"), plainPage())); - tqlayout->addWidget(linkDescription = new KLineEdit("Link description", plainPage())); + layout->addItem(new TQSpacerItem(0, 5)); + layout->addWidget(new TQLabel(i18n("Link description:"), plainPage())); + layout->addWidget(linkDescription = new KLineEdit("Link description", plainPage())); connect(browse, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBrowse())); connect(linkType, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotTypeChanged(int))); |