From 0712de864d1993ca6ff1437f75fde80c9101fd13 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:04:16 -0600 Subject: [PATCH] Rename obsolete tq methods to standard names --- src/bookmarksdlg.cpp | 16 ++++++++-------- src/bookmarksdlg.h | 4 ++-- src/settingsdlg.ui | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/bookmarksdlg.cpp b/src/bookmarksdlg.cpp index a02b562..856876b 100644 --- a/src/bookmarksdlg.cpp +++ b/src/bookmarksdlg.cpp @@ -45,7 +45,7 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent, setSizeGripEnabled(TRUE); BookmarksDlgLayout = new TQVBoxLayout( this, 11, 6, "BookmarksDlgLayout"); - tqlayout3 = new TQHBoxLayout( 0, 0, 6, "tqlayout3"); + layout3 = new TQHBoxLayout( 0, 0, 6, "layout3"); bookmarksTable = new TQTable(3, 2, this, "bookmarksList" ); bookmarksTable->horizontalHeader()->setLabel(0, "Title"); @@ -53,19 +53,19 @@ BookmarksDlg::BookmarksDlg(const Bookmarks& bms, TQWidget* parent, // bookmarksTable->setLeftMargin(0); bookmarksTable->setColumnStretchable(0, true); bookmarksTable->setSelectionMode(TQTable::SingleRow); - tqlayout3->addWidget( bookmarksTable ); + layout3->addWidget( bookmarksTable ); - tqlayout2 = new TQVBoxLayout( 0, 0, 6, "tqlayout2"); + layout2 = new TQVBoxLayout( 0, 0, 6, "layout2"); addButton = new TQPushButton( this, "addButton" ); - tqlayout2->addWidget( addButton ); + layout2->addWidget( addButton ); deleteButton = new TQPushButton( this, "deleteButton" ); - tqlayout2->addWidget( deleteButton ); + layout2->addWidget( deleteButton ); Horizontal_Spacing2_2 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tqlayout2->addItem( Horizontal_Spacing2_2 ); - tqlayout3->addLayout( tqlayout2 ); - BookmarksDlgLayout->addLayout( tqlayout3 ); + layout2->addItem( Horizontal_Spacing2_2 ); + layout3->addLayout( layout2 ); + BookmarksDlgLayout->addLayout( layout3 ); Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1"); diff --git a/src/bookmarksdlg.h b/src/bookmarksdlg.h index 4dc7c4a..b424f14 100644 --- a/src/bookmarksdlg.h +++ b/src/bookmarksdlg.h @@ -53,8 +53,8 @@ public: protected: TQVBoxLayout* BookmarksDlgLayout; - TQHBoxLayout* tqlayout3; - TQVBoxLayout* tqlayout2; + TQHBoxLayout* layout3; + TQVBoxLayout* layout2; TQSpacerItem* Horizontal_Spacing2_2; TQHBoxLayout* Layout1; TQSpacerItem* Horizontal_Spacing2; diff --git a/src/settingsdlg.ui b/src/settingsdlg.ui index bb1de15..c867c63 100644 --- a/src/settingsdlg.ui +++ b/src/settingsdlg.ui @@ -41,7 +41,7 @@ - tqlayout2 + layout2 @@ -67,7 +67,7 @@ - tqlayout3 + layout3 @@ -93,7 +93,7 @@ - tqlayout8 + layout8