diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:04:18 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-23 02:38:43 +0200 |
commit | 79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8 (patch) | |
tree | 53d5cf7b22fc56ded68d350630842aa639752360 /src/kchmdialogchooseurlfromlist.cpp | |
parent | 6c8fbb5199ea86a9ef727aa258e730006b3876b6 (diff) | |
download | kchmviewer-79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8.tar.gz kchmviewer-79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit de122aa7805984226a4270c63b0f69e7b5022930)
Diffstat (limited to 'src/kchmdialogchooseurlfromlist.cpp')
-rw-r--r-- | src/kchmdialogchooseurlfromlist.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kchmdialogchooseurlfromlist.cpp b/src/kchmdialogchooseurlfromlist.cpp index 57db28e..41bc64a 100644 --- a/src/kchmdialogchooseurlfromlist.cpp +++ b/src/kchmdialogchooseurlfromlist.cpp @@ -27,8 +27,8 @@ KCHMDialogChooseUrlFromList::KCHMDialogChooseUrlFromList(const TQStringList& urls, const TQStringList& titles, TQWidget* parent) : TQDialog(parent, 0, true) { - TQVBoxLayout * tqlayout = new TQVBoxLayout (this); - tqlayout->setMargin (5); + TQVBoxLayout * layout = new TQVBoxLayout (this); + layout->setMargin (5); TQListView * m_urlsList = new TQListView (this); m_urlsList->addColumn( i18n( "Topics" ) ); @@ -36,15 +36,15 @@ KCHMDialogChooseUrlFromList::KCHMDialogChooseUrlFromList(const TQStringList& url for ( unsigned int i = 0; i < urls.size(); i++ ) new KCHMSingleTreeViewItem (m_urlsList, titles[i], urls[i]); - tqlayout->addWidget ( new TQLabel( i18n( "Please select one of the topics below:"), this) ); - tqlayout->addWidget ( m_urlsList ); + layout->addWidget ( new TQLabel( i18n( "Please select one of the topics below:"), this) ); + layout->addWidget ( m_urlsList ); - TQHBoxLayout * htqlayout = new TQHBoxLayout (tqlayout); + TQHBoxLayout * hlayout = new TQHBoxLayout (layout); TQPushButton * bok = new TQPushButton( i18n( "&Ok" ), this); TQPushButton * bcancel = new TQPushButton( i18n( "&Cancel" ), this); - htqlayout->addWidget (bok); - htqlayout->addWidget (bcancel); + hlayout->addWidget (bok); + hlayout->addWidget (bcancel); connect( m_urlsList, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT( onDoubleClicked ( TQListViewItem *, const TQPoint &, int) ) ); connect( m_urlsList, TQT_SIGNAL( currentChanged ( TQListViewItem *) ), this, TQT_SLOT( onCurrentChanged ( TQListViewItem *) ) ); |