diff options
Diffstat (limited to 'src/knowitlink.cpp')
-rw-r--r-- | src/knowitlink.cpp | 16 |
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))); |