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 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))); |