summaryrefslogtreecommitdiffstats
path: root/src/kchmdialogchooseurlfromlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmdialogchooseurlfromlist.cpp')
-rw-r--r--src/kchmdialogchooseurlfromlist.cpp14
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 *) ) );