diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
commit | d6331f1b56eb6dca7a1950658b2932f208015da0 (patch) | |
tree | f99bf8d1571f93304bdb4a46fb199a1bde60e6ee /cervisia/addrepositorydlg.cpp | |
parent | e738fee8847c1f606df7b338a589cc8c0539a521 (diff) | |
download | tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'cervisia/addrepositorydlg.cpp')
-rw-r--r-- | cervisia/addrepositorydlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cervisia/addrepositorydlg.cpp b/cervisia/addrepositorydlg.cpp index e451fca0..187e0e16 100644 --- a/cervisia/addrepositorydlg.cpp +++ b/cervisia/addrepositorydlg.cpp @@ -24,7 +24,7 @@ #include <tqcheckbox.h> #include <tqhbox.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <kconfig.h> #include <klineedit.h> @@ -40,10 +40,10 @@ AddRepositoryDialog::AddRepositoryDialog(KConfig& cfg, const TQString& repo, { TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout* tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout* layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); TQLabel* repo_label = new TQLabel(i18n("&Repository:"), mainWidget); - tqlayout->addWidget(repo_label); + layout->addWidget(repo_label); repo_edit = new KLineEdit(mainWidget); repo_edit->setFocus(); @@ -53,33 +53,33 @@ AddRepositoryDialog::AddRepositoryDialog(KConfig& cfg, const TQString& repo, repo_edit->setText(repo); repo_edit->setEnabled(false); } - tqlayout->addWidget(repo_edit); + layout->addWidget(repo_edit); TQLabel* rsh_label = new TQLabel(i18n("Use remote &shell (only for :ext: repositories):"), mainWidget); - tqlayout->addWidget(rsh_label); + layout->addWidget(rsh_label); rsh_edit = new KLineEdit(mainWidget); rsh_label->setBuddy(rsh_edit); - tqlayout->addWidget(rsh_edit); + layout->addWidget(rsh_edit); TQLabel* server_label = new TQLabel(i18n("Invoke this program on the server side:"), mainWidget); - tqlayout->addWidget(server_label); + layout->addWidget(server_label); server_edit = new KLineEdit(mainWidget); server_label->setBuddy(server_edit); - tqlayout->addWidget(server_edit); + layout->addWidget(server_edit); TQHBox* compressionBox = new TQHBox(mainWidget); m_useDifferentCompression = new TQCheckBox(i18n("Use different &compression level:"), compressionBox); m_compressionLevel = new KIntNumInput(compressionBox); m_compressionLevel->setRange(0, 9, 1, false); - tqlayout->addWidget(compressionBox); + layout->addWidget(compressionBox); m_retrieveCvsignoreFile = new TQCheckBox(i18n("Download cvsignore file from " "server"), mainWidget); - tqlayout->addWidget(m_retrieveCvsignoreFile); + layout->addWidget(m_retrieveCvsignoreFile); connect( repo_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(repoChanged()) ); |