summaryrefslogtreecommitdiffstats
path: root/src/knowitlink.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:31:18 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:31:18 -0600
commit58ed6eb0cbce97f0c662eaafc536fd0399466ede (patch)
tree8c59dbc70711b7354dcfcffe1c0613424ff186e6 /src/knowitlink.cpp
parent9ef287f39039c26a478bbc1a304dca91f03f55d6 (diff)
downloadknowit-58ed6eb0cbce97f0c662eaafc536fd0399466ede.tar.gz
knowit-58ed6eb0cbce97f0c662eaafc536fd0399466ede.zip
Rename a number of old tq methods that are no longer tq specific
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 a137dd2..3637038 100644
--- a/src/knowitlink.cpp
+++ b/src/knowitlink.cpp
@@ -20,7 +20,7 @@
#include <tqtoolbutton.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <kfiledialog.h>
@@ -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)));