diff options
Diffstat (limited to 'kexi/plugins/importexport')
-rw-r--r-- | kexi/plugins/importexport/csv/kexicsvexportwizard.cpp | 6 | ||||
-rw-r--r-- | kexi/plugins/importexport/csv/kexicsvimportdialog.cpp | 42 | ||||
-rw-r--r-- | kexi/plugins/importexport/csv/kexicsvwidgets.cpp | 12 |
3 files changed, 30 insertions, 30 deletions
diff --git a/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp b/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp index 19e30f24..5719f9f0 100644 --- a/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp +++ b/kexi/plugins/importexport/csv/kexicsvexportwizard.cpp @@ -109,7 +109,7 @@ KexiCSVExportWizard::KexiCSVExportWizard( const KexiCSVExport::Options& options, m_fileSavePage->setAdditionalFilters( csvMimeTypes() ); m_fileSavePage->setDefaultExtension("csv"); m_fileSavePage->setLocationText( KexiUtils::stringToFileName(m_tableOrQuery->captionOrName()) ); - connect(m_fileSavePage, TQT_SIGNAL(rejected()), this, TQT_SLOT(reject())); + connect(m_fileSavePage, TQ_SIGNAL(rejected()), this, TQ_SLOT(reject())); addPage(m_fileSavePage, i18n("Enter Name of File You Want to Save Data To")); } @@ -135,7 +135,7 @@ KexiCSVExportWizard::KexiCSVExportWizard( const KexiCSVExport::Options& options, m_showOptionsButton = new KPushButton(KGuiItem(i18n("Show Options >>"), "configure"), m_exportOptionsPage); - connect(m_showOptionsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowOptionsButtonClicked())); + connect(m_showOptionsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowOptionsButtonClicked())); exportOptionsLyr->addMultiCellWidget(m_showOptionsButton, 2, 2, 0, 0); m_showOptionsButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); @@ -358,7 +358,7 @@ void KexiCSVExportWizard::layOutButtonRow( TQHBoxLayout * layout ) if (!m_defaultsBtn) { m_defaultsBtn = new KPushButton(i18n("Defaults"), this); TQWidget::setTabOrder(backButton(), m_defaultsBtn); - connect(m_defaultsBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDefaultsButtonClicked())); + connect(m_defaultsBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDefaultsButtonClicked())); } if (!m_exportOptionsSection->isVisible()) m_defaultsBtn->hide(); diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp index 61f86ec2..26efa602 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp @@ -235,7 +235,7 @@ KexiCSVImportDialog::KexiCSVImportDialog( Mode mode, KexiMainWindow* mainWin, m_primaryKeyField = new TQCheckBox( i18n( "Primary key" ), page, "m_primaryKeyField" ); glyr->addWidget( m_primaryKeyField, 2, 1 ); - connect(m_primaryKeyField, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPrimaryKeyFieldToggled(bool))); + connect(m_primaryKeyField, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPrimaryKeyFieldToggled(bool))); m_comboQuote = new KexiCSVTextQuoteComboBox( page ); glyr->addWidget( m_comboQuote, 1, 2 ); @@ -364,24 +364,24 @@ if ( m_mode == Clipboard ) m_table->setSelectionMode(TQTable::NoSelection); - connect(m_formatCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(formatChanged(int))); - connect(m_delimiterWidget, TQT_SIGNAL(delimiterChanged(const TQString&)), - this, TQT_SLOT(delimiterChanged(const TQString&))); - connect(m_startAtLineSpinBox, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(startlineSelected(int))); - connect(m_comboQuote, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(textquoteSelected(int))); - connect(m_table, TQT_SIGNAL(currentChanged(int, int)), - this, TQT_SLOT(currentCellChanged(int, int))); - connect(m_table, TQT_SIGNAL(valueChanged(int,int)), - this, TQT_SLOT(cellValueChanged(int,int))); - connect(m_ignoreDuplicates, TQT_SIGNAL(stateChanged(int)), - this, TQT_SLOT(ignoreDuplicatesChanged(int))); - connect(m_1stRowForFieldNames, TQT_SIGNAL(stateChanged(int)), - this, TQT_SLOT(slot1stRowForFieldNamesChanged(int))); - - connect(this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(optionsButtonClicked())); + connect(m_formatCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(formatChanged(int))); + connect(m_delimiterWidget, TQ_SIGNAL(delimiterChanged(const TQString&)), + this, TQ_SLOT(delimiterChanged(const TQString&))); + connect(m_startAtLineSpinBox, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(startlineSelected(int))); + connect(m_comboQuote, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(textquoteSelected(int))); + connect(m_table, TQ_SIGNAL(currentChanged(int, int)), + this, TQ_SLOT(currentCellChanged(int, int))); + connect(m_table, TQ_SIGNAL(valueChanged(int,int)), + this, TQ_SLOT(cellValueChanged(int,int))); + connect(m_ignoreDuplicates, TQ_SIGNAL(stateChanged(int)), + this, TQ_SLOT(ignoreDuplicatesChanged(int))); + connect(m_1stRowForFieldNames, TQ_SIGNAL(stateChanged(int)), + this, TQ_SLOT(slot1stRowForFieldNamesChanged(int))); + + connect(this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(optionsButtonClicked())); installRecursiveEventFilter(this, this); @@ -406,7 +406,7 @@ void KexiCSVImportDialog::initLater() if (m_dialogCancelled) { // m_loadingProgressDlg->hide(); // m_loadingProgressDlg->close(); - TQTimer::singleShot(0, this, TQT_SLOT(reject())); + TQTimer::singleShot(0, this, TQ_SLOT(reject())); return; } @@ -1270,7 +1270,7 @@ void KexiCSVImportDialog::textquoteSelected(int) void KexiCSVImportDialog::fillTableLater() { m_table->setNumRows( 0 ); - TQTimer::singleShot(10, this, TQT_SLOT(fillTable())); + TQTimer::singleShot(10, this, TQ_SLOT(fillTable())); } void KexiCSVImportDialog::startlineSelected(int startline) diff --git a/kexi/plugins/importexport/csv/kexicsvwidgets.cpp b/kexi/plugins/importexport/csv/kexicsvwidgets.cpp index d424ffad..a63c3347 100644 --- a/kexi/plugins/importexport/csv/kexicsvwidgets.cpp +++ b/kexi/plugins/importexport/csv/kexicsvwidgets.cpp @@ -65,12 +65,12 @@ KexiCSVDelimiterWidget::KexiCSVDelimiterWidget( bool lineEditOnBottom, TQWidget lyr->addStretch(2); slotDelimiterChangedInternal(KEXICSV_DEFAULT_FILE_DELIMITER_INDEX); //this will init m_delimiter - connect(m_combo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDelimiterChanged(int))); - connect(m_delimiterEdit, TQT_SIGNAL(returnPressed()), - this, TQT_SLOT(slotDelimiterLineEditReturnPressed())); - connect(m_delimiterEdit, TQT_SIGNAL(textChanged( const TQString & )), - this, TQT_SLOT(slotDelimiterLineEditTextChanged( const TQString & ) )); + connect(m_combo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDelimiterChanged(int))); + connect(m_delimiterEdit, TQ_SIGNAL(returnPressed()), + this, TQ_SLOT(slotDelimiterLineEditReturnPressed())); + connect(m_delimiterEdit, TQ_SIGNAL(textChanged( const TQString & )), + this, TQ_SLOT(slotDelimiterLineEditTextChanged( const TQString & ) )); } void KexiCSVDelimiterWidget::slotDelimiterChanged(int index) |