diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:03:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:03:41 -0600 |
commit | 17678d65de293ae9a8b077b5c0bc3f493c617f8b (patch) | |
tree | b4131182c75a7a638f626bc3b9415b6f47ff680e /src/noteedit.cpp | |
parent | 522c7294f06d294c77bc1ea7d0dec4b371c43373 (diff) | |
download | basket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.tar.gz basket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/noteedit.cpp')
-rw-r--r-- | src/noteedit.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/noteedit.cpp b/src/noteedit.cpp index bdebdb5..0edda4d 100644 --- a/src/noteedit.cpp +++ b/src/noteedit.cpp @@ -536,7 +536,7 @@ LinkEditDialog::LinkEditDialog(LinkContent *contentNote, TQWidget *parent/*, TQK m_noteContent(contentNote) { TQWidget *page = plainPage(); - TQGridLayout *tqlayout = new TQGridLayout(page, /*nRows=*/4, /*nCols=*/2, /*margin=*/0, spacingHint()); + TQGridLayout *layout = new TQGridLayout(page, /*nRows=*/4, /*nCols=*/2, /*margin=*/0, spacingHint()); m_url = new KURLRequester(m_noteContent->url().url(), page); @@ -578,12 +578,12 @@ LinkEditDialog::LinkEditDialog(LinkContent *contentNote, TQWidget *parent/*, TQK //m_url->setShowLocalProtocol(true); TQLabel *label1 = new TQLabel(m_url, i18n("Ta&rget:"), page); TQLabel *label2 = new TQLabel(m_title, i18n("&Title:"), page); - tqlayout->addWidget(label1, 0, 0, TQt::AlignVCenter); - tqlayout->addWidget(label2, 1, 0, TQt::AlignVCenter); - tqlayout->addWidget(label3, 2, 0, TQt::AlignVCenter); - tqlayout->addWidget(m_url, 0, 1, TQt::AlignVCenter); - tqlayout->addWidget(wid1, 1, 1, TQt::AlignVCenter); - tqlayout->addWidget(wid, 2, 1, TQt::AlignVCenter); + layout->addWidget(label1, 0, 0, TQt::AlignVCenter); + layout->addWidget(label2, 1, 0, TQt::AlignVCenter); + layout->addWidget(label3, 2, 0, TQt::AlignVCenter); + layout->addWidget(m_url, 0, 1, TQt::AlignVCenter); + layout->addWidget(wid1, 1, 1, TQt::AlignVCenter); + layout->addWidget(wid, 2, 1, TQt::AlignVCenter); m_isAutoModified = false; connect( m_url, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(urlChanged(const TQString&)) ); @@ -594,7 +594,7 @@ LinkEditDialog::LinkEditDialog(LinkContent *contentNote, TQWidget *parent/*, TQK TQWidget *stretchWidget = new TQWidget(page); stretchWidget->setSizePolicy(TQSizePolicy(/*hor=*/TQSizePolicy::Fixed, /*ver=*/TQSizePolicy::Expanding, /*hStretch=*/1, /*vStretch=*/255)); // Make it fill ALL vertical space - tqlayout->addWidget(stretchWidget, 3, 1, TQt::AlignVCenter); + layout->addWidget(stretchWidget, 3, 1, TQt::AlignVCenter); urlChanged(""); @@ -695,7 +695,7 @@ LauncherEditDialog::LauncherEditDialog(LauncherContent *contentNote, TQWidget *p m_noteContent(contentNote) { TQWidget *page = plainPage(); - TQGridLayout *tqlayout = new TQGridLayout(page, /*nRows=*/4, /*nCols=*/2, /*margin=*/0, spacingHint()); + TQGridLayout *layout = new TQGridLayout(page, /*nRows=*/4, /*nCols=*/2, /*margin=*/0, spacingHint()); KService service(contentNote->fullPath()); @@ -726,16 +726,16 @@ LauncherEditDialog::LauncherEditDialog(LauncherContent *contentNote, TQWidget *p TQLabel *label1 = new TQLabel(m_command->lineEdit(), i18n("Comman&d:"), page); TQLabel *label2 = new TQLabel(m_name, i18n("&Name:"), page); - tqlayout->addWidget(label1, 0, 0, TQt::AlignVCenter); - tqlayout->addWidget(label2, 1, 0, TQt::AlignVCenter); - tqlayout->addWidget(label, 2, 0, TQt::AlignVCenter); - tqlayout->addWidget(m_command, 0, 1, TQt::AlignVCenter); - tqlayout->addWidget(m_name, 1, 1, TQt::AlignVCenter); - tqlayout->addWidget(wid, 2, 1, TQt::AlignVCenter); + layout->addWidget(label1, 0, 0, TQt::AlignVCenter); + layout->addWidget(label2, 1, 0, TQt::AlignVCenter); + layout->addWidget(label, 2, 0, TQt::AlignVCenter); + layout->addWidget(m_command, 0, 1, TQt::AlignVCenter); + layout->addWidget(m_name, 1, 1, TQt::AlignVCenter); + layout->addWidget(wid, 2, 1, TQt::AlignVCenter); TQWidget *stretchWidget = new TQWidget(page); stretchWidget->setSizePolicy(TQSizePolicy(/*hor=*/TQSizePolicy::Fixed, /*ver=*/TQSizePolicy::Expanding, /*hStretch=*/1, /*vStretch=*/255)); // Make it fill ALL vertical space - tqlayout->addWidget(stretchWidget, 3, 1, TQt::AlignVCenter); + layout->addWidget(stretchWidget, 3, 1, TQt::AlignVCenter); connect( guessButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(guessIcon()) ); } |