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 41bc64a..57db28e 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 * layout = new TQVBoxLayout (this);
- layout->setMargin (5);
+ TQVBoxLayout * tqlayout = new TQVBoxLayout (this);
+ tqlayout->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]);
- layout->addWidget ( new TQLabel( i18n( "Please select one of the topics below:"), this) );
- layout->addWidget ( m_urlsList );
+ tqlayout->addWidget ( new TQLabel( i18n( "Please select one of the topics below:"), this) );
+ tqlayout->addWidget ( m_urlsList );
- TQHBoxLayout * hlayout = new TQHBoxLayout (layout);
+ TQHBoxLayout * htqlayout = new TQHBoxLayout (tqlayout);
TQPushButton * bok = new TQPushButton( i18n( "&Ok" ), this);
TQPushButton * bcancel = new TQPushButton( i18n( "&Cancel" ), this);
- hlayout->addWidget (bok);
- hlayout->addWidget (bcancel);
+ htqlayout->addWidget (bok);
+ htqlayout->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 *) ) );