summaryrefslogtreecommitdiffstats
path: root/libtdepim/kimportdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 12:33:20 +0900
committerMichele Calgaro <[email protected]>2024-01-16 19:01:53 +0900
commitb0f8eef013163b2098c2bb07e93cb9b194338b80 (patch)
treec35221250699030822f3c616b393f77e1ce47036 /libtdepim/kimportdialog.cpp
parentc2138cbe92142437d50f2e6cec6f8909da959234 (diff)
downloadtdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz
tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'libtdepim/kimportdialog.cpp')
-rw-r--r--libtdepim/kimportdialog.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/libtdepim/kimportdialog.cpp b/libtdepim/kimportdialog.cpp
index 879b61567..44e7edddc 100644
--- a/libtdepim/kimportdialog.cpp
+++ b/libtdepim/kimportdialog.cpp
@@ -164,15 +164,15 @@ KImportDialog::KImportDialog(TQWidget* parent)
new TQLabel(i18n("File to import:"),fileBox);
KURLRequester *urlRequester = new KURLRequester(fileBox);
urlRequester->setFilter( "*.csv" );
- connect(urlRequester,TQT_SIGNAL(returnPressed(const TQString &)),
- TQT_SLOT(setFile(const TQString &)));
- connect(urlRequester,TQT_SIGNAL(urlSelected(const TQString &)),
- TQT_SLOT(setFile(const TQString &)));
- connect(urlRequester->lineEdit(),TQT_SIGNAL(textChanged ( const TQString & )),
- TQT_SLOT(slotUrlChanged(const TQString & )));
+ connect(urlRequester,TQ_SIGNAL(returnPressed(const TQString &)),
+ TQ_SLOT(setFile(const TQString &)));
+ connect(urlRequester,TQ_SIGNAL(urlSelected(const TQString &)),
+ TQ_SLOT(setFile(const TQString &)));
+ connect(urlRequester->lineEdit(),TQ_SIGNAL(textChanged ( const TQString & )),
+ TQ_SLOT(slotUrlChanged(const TQString & )));
mTable = new TQTable(5,5,topBox);
mTable->setMinimumHeight( 150 );
- connect(mTable,TQT_SIGNAL(selectionChanged()),TQT_SLOT(tableSelected()));
+ connect(mTable,TQ_SIGNAL(selectionChanged()),TQ_SLOT(tableSelected()));
TQHBox *separatorBox = new TQHBox( topBox );
separatorBox->setSpacing( spacingHint() );
@@ -185,8 +185,8 @@ KImportDialog::KImportDialog(TQWidget* parent)
mSeparatorCombo->insertItem( i18n( "Space" ) );
mSeparatorCombo->insertItem( "=" );
mSeparatorCombo->insertItem( ";" );
- connect(mSeparatorCombo, TQT_SIGNAL( activated(int) ),
- this, TQT_SLOT( separatorClicked(int) ) );
+ connect(mSeparatorCombo, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( separatorClicked(int) ) );
mSeparatorCombo->setCurrentItem( 0 );
TQHBox *rowsBox = new TQHBox( topBox );
@@ -208,34 +208,34 @@ KImportDialog::KImportDialog(TQWidget* parent)
mHeaderList = new TQListView(listsBox);
mHeaderList->addColumn(i18n("Header"));
- connect(mHeaderList, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(headerSelected(TQListViewItem*)));
- connect(mHeaderList,TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- TQT_SLOT(assignColumn(TQListViewItem *)));
+ connect(mHeaderList, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(headerSelected(TQListViewItem*)));
+ connect(mHeaderList,TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ TQ_SLOT(assignColumn(TQListViewItem *)));
mFormatCombo = new KComboBox( listsBox );
mFormatCombo->setDuplicatesEnabled( false );
TQPushButton *assignButton = new TQPushButton(i18n("Assign to Selected Column"),
assignBox);
- connect(assignButton,TQT_SIGNAL(clicked()),TQT_SLOT(assignColumn()));
+ connect(assignButton,TQ_SIGNAL(clicked()),TQ_SLOT(assignColumn()));
TQPushButton *removeButton = new TQPushButton(i18n("Remove Assignment From Selected Column"),
assignBox);
- connect(removeButton,TQT_SIGNAL(clicked()),TQT_SLOT(removeColumn()));
+ connect(removeButton,TQ_SIGNAL(clicked()),TQ_SLOT(removeColumn()));
TQPushButton *assignTemplateButton = new TQPushButton(i18n("Assign with Template..."),
assignBox);
- connect(assignTemplateButton,TQT_SIGNAL(clicked()),TQT_SLOT(assignTemplate()));
+ connect(assignTemplateButton,TQ_SIGNAL(clicked()),TQ_SLOT(assignTemplate()));
TQPushButton *saveTemplateButton = new TQPushButton(i18n("Save Current Template"),
assignBox);
- connect(saveTemplateButton,TQT_SIGNAL(clicked()),TQT_SLOT(saveTemplate()));
+ connect(saveTemplateButton,TQ_SIGNAL(clicked()),TQ_SLOT(saveTemplate()));
resize(500,300);
- connect(this,TQT_SIGNAL(okClicked()),TQT_SLOT(applyConverter()));
- connect(this,TQT_SIGNAL(applyClicked()),TQT_SLOT(applyConverter()));
+ connect(this,TQ_SIGNAL(okClicked()),TQ_SLOT(applyConverter()));
+ connect(this,TQ_SIGNAL(applyClicked()),TQ_SLOT(applyConverter()));
enableButtonOK(!urlRequester->lineEdit()->text().isEmpty());
}