summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/cswordsetupinstallsourcesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/frontend/cswordsetupinstallsourcesdialog.cpp')
-rw-r--r--bibletime/frontend/cswordsetupinstallsourcesdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/bibletime/frontend/cswordsetupinstallsourcesdialog.cpp b/bibletime/frontend/cswordsetupinstallsourcesdialog.cpp
index a5cedbd..2e9115c 100644
--- a/bibletime/frontend/cswordsetupinstallsourcesdialog.cpp
+++ b/bibletime/frontend/cswordsetupinstallsourcesdialog.cpp
@@ -13,7 +13,7 @@
#include "cswordsetupinstallsourcesdialog.h"
#include "util/scoped_resource.h"
-//Qt includes
+//TQt includes
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqcombobox.h>
@@ -32,7 +32,7 @@ namespace BookshelfManager {
const TQString PROTO_FTP( i18n("Remote") ); //Remote path
- CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(/*TQWidget *parent*/)
+ CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(/*TQWidget *tqparent*/)
: TQDialog() {
TQVBoxLayout* mainLayout = new TQVBoxLayout( this );
@@ -49,29 +49,29 @@ namespace BookshelfManager {
mainLayout->addSpacing( 10 );
- TQGridLayout* layout = new TQGridLayout( mainLayout, 3, 3 );
- layout->setSpacing( 5 );
+ TQGridLayout* tqlayout = new TQGridLayout( mainLayout, 3, 3 );
+ tqlayout->setSpacing( 5 );
label = new TQLabel(i18n("Type"), this);
- layout->addWidget( label, 0, 0);
+ tqlayout->addWidget( label, 0, 0);
m_serverLabel = new TQLabel(i18n("Server"), this);
- layout->addWidget( m_serverLabel, 0, 1);
+ tqlayout->addWidget( m_serverLabel, 0, 1);
label = new TQLabel(i18n("Path"), this);
- layout->addWidget( label, 0, 2 );
+ tqlayout->addWidget( label, 0, 2 );
m_protocolCombo = new TQComboBox( this );
- layout->addWidget(m_protocolCombo, 1, 0);
+ tqlayout->addWidget(m_protocolCombo, 1, 0);
m_protocolCombo->insertItem( PROTO_FTP );
m_protocolCombo->insertItem( PROTO_FILE );
m_serverEdit = new TQLineEdit( this );
- layout->addWidget( m_serverEdit, 1, 1 );
+ tqlayout->addWidget( m_serverEdit, 1, 1 );
m_serverEdit->setText("ftp.crosswire.org");
m_pathEdit = new TQLineEdit( this );
- layout->addWidget( m_pathEdit, 1, 2 );
+ tqlayout->addWidget( m_pathEdit, 1, 2 );
m_pathEdit->setText("/pub/sword/raw");
mainLayout->addSpacing( 10 );
@@ -134,7 +134,7 @@ namespace BookshelfManager {
m_serverLabel->hide();
m_serverEdit->hide();
- KURL url = KDirSelectDialog::selectDirectory(TQString::null, true);
+ KURL url = KDirSelectDialog::selectDirectory(TQString(), true);
if (url.isValid()) {
m_pathEdit->setText( url.path() );
}