summaryrefslogtreecommitdiffstats
path: root/src/knowitlink.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
commit1bc598742e8dcd7c3f72d892b2c3dd618496b79c (patch)
tree9a10a647deb5047c499f26e3c19380d9bea64a7f /src/knowitlink.cpp
parent58ed6eb0cbce97f0c662eaafc536fd0399466ede (diff)
downloadknowit-1bc598742e8dcd7c3f72d892b2c3dd618496b79c.tar.gz
knowit-1bc598742e8dcd7c3f72d892b2c3dd618496b79c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 58ed6eb0cbce97f0c662eaafc536fd0399466ede.
Diffstat (limited to 'src/knowitlink.cpp')
-rw-r--r--src/knowitlink.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/knowitlink.cpp b/src/knowitlink.cpp
index 3637038..a137dd2 100644
--- a/src/knowitlink.cpp
+++ b/src/knowitlink.cpp
@@ -20,7 +20,7 @@
#include <tqtoolbutton.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvbox.h>
#include <kfiledialog.h>
@@ -33,27 +33,27 @@
KnowitLinkDialog::KnowitLinkDialog()
: KDialogBase(Plain, i18n("Modify link"), Ok|Cancel, Ok)
{
- TQVBoxLayout* layout = new TQVBoxLayout(plainPage());
+ TQVBoxLayout* tqlayout = new TQVBoxLayout(plainPage());
TQHBox* typeBox = new TQHBox(plainPage());
- layout->addWidget(typeBox);
+ tqlayout->addWidget(typeBox);
new TQLabel(i18n("Referenced item:"), typeBox);
linkType = new KComboBox(typeBox, "LinkType");
linkType->insertItem(i18n("File or URL"));
linkType->insertItem(i18n("KnowIt note"));
- layout->addItem(new TQSpacerItem(0, 5));
+ tqlayout->addItem(new TQSpacerItem(0, 5));
TQHBox* editBox = new TQHBox(plainPage());
- layout->addWidget(editBox);
+ tqlayout->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)));
- layout->addItem(new TQSpacerItem(0, 5));
- layout->addWidget(new TQLabel(i18n("Link description:"), plainPage()));
- layout->addWidget(linkDescription = new KLineEdit("Link description", plainPage()));
+ tqlayout->addItem(new TQSpacerItem(0, 5));
+ tqlayout->addWidget(new TQLabel(i18n("Link description:"), plainPage()));
+ tqlayout->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)));