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/commitdlg.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/commitdlg.cpp')
-rw-r--r-- | cervisia/commitdlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cervisia/commitdlg.cpp b/cervisia/commitdlg.cpp index a2e587f3..1861fd6c 100644 --- a/cervisia/commitdlg.cpp +++ b/cervisia/commitdlg.cpp @@ -25,7 +25,7 @@ #include <tqdir.h> #include <tqfileinfo.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqheader.h> #include <klistview.h> #include <kconfig.h> @@ -61,10 +61,10 @@ CommitDialog::CommitDialog(KConfig& cfg, CvsService_stub* service, { TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); TQLabel *textlabel = new TQLabel( i18n("Commit the following &files:"), mainWidget ); - tqlayout->addWidget(textlabel); + layout->addWidget(textlabel); m_fileList = new KListView(mainWidget); m_fileList->addColumn(""); @@ -75,30 +75,30 @@ CommitDialog::CommitDialog(KConfig& cfg, CvsService_stub* service, this, TQT_SLOT(fileSelected(TQListViewItem*))); connect( m_fileList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(fileHighlighted()) ); - tqlayout->addWidget(m_fileList, 5); + layout->addWidget(m_fileList, 5); TQLabel *archivelabel = new TQLabel(i18n("Older &messages:"), mainWidget); - tqlayout->addWidget(archivelabel); + layout->addWidget(archivelabel); combo = new TQComboBox(mainWidget); archivelabel->setBuddy(combo); connect( combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(comboActivated(int)) ); // make sure that combobox is smaller than the screen - combo->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); - tqlayout->addWidget(combo); + combo->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); + layout->addWidget(combo); TQLabel *messagelabel = new TQLabel(i18n("&Log message:"), mainWidget); - tqlayout->addWidget(messagelabel); + layout->addWidget(messagelabel); edit = new Cervisia::LogMessageEdit(mainWidget); messagelabel->setBuddy(edit); edit->setCheckSpellingEnabled(true); edit->setFocus(); edit->setMinimumSize(400, 100); - tqlayout->addWidget(edit, 10); + layout->addWidget(edit, 10); m_useTemplateChk = new TQCheckBox(i18n("Use log message &template"), mainWidget); - tqlayout->addWidget(m_useTemplateChk); + layout->addWidget(m_useTemplateChk); connect( m_useTemplateChk, TQT_SIGNAL(clicked()), this, TQT_SLOT(useTemplateClicked()) ); checkForTemplateFile(); |