diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
commit | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch) | |
tree | 55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/translators/csvimporter.cpp | |
parent | 2781e27b871150395a5a82e221684108641002b2 (diff) | |
download | tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/translators/csvimporter.cpp')
-rw-r--r-- | src/translators/csvimporter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/translators/csvimporter.cpp b/src/translators/csvimporter.cpp index cf233bd..234d76b 100644 --- a/src/translators/csvimporter.cpp +++ b/src/translators/csvimporter.cpp @@ -99,7 +99,7 @@ CSVImporter::CSVImporter(const KURL& url_) : Tellico::Import::TextImporter(url_) m_coll(0), m_existingCollection(0), m_firstRowHeader(false), - m_delimiter(TQString::tqfromLatin1(",")), + m_delimiter(TQString::fromLatin1(",")), m_cancelled(false), m_widget(0), m_table(0), @@ -202,7 +202,7 @@ Tellico::Data::CollPtr CSVImporter::collection() { } { - KConfigGroup config(KGlobal::config(), TQString::tqfromLatin1("ImportOptions - CSV")); + KConfigGroup config(KGlobal::config(), TQString::fromLatin1("ImportOptions - CSV")); config.writeEntry("Delimiter", m_delimiter); config.writeEntry("First Row Titles", m_firstRowHeader); } @@ -239,7 +239,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) { TQHBox* hbox2 = new TQHBox(group); m_delimiterGroup = new TQButtonGroup(0, Qt::Vertical, i18n("Delimiter"), hbox2); TQGridLayout* m_delimiterGroupLayout = new TQGridLayout(m_delimiterGroup->tqlayout(), 3, 3); - m_delimiterGroupLayout->tqsetAlignment(TQt::AlignTop); + m_delimiterGroupLayout->setAlignment(TQt::AlignTop); TQWhatsThis::add(m_delimiterGroup, i18n("In addition to a comma, other characters may be used as " "a delimiter, separating each value in the file.")); connect(m_delimiterGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotDelimiter())); @@ -314,13 +314,13 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) { m_setColumnBtn = new KPushButton(i18n("&Assign Field"), hbox); hlay->addWidget(m_setColumnBtn); - m_setColumnBtn->setIconSet(SmallIconSet(TQString::tqfromLatin1("apply"))); + m_setColumnBtn->setIconSet(SmallIconSet(TQString::fromLatin1("apply"))); connect(m_setColumnBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetColumnTitle())); hlay->addStretch(10); l->addStretch(1); - KConfigGroup config(KGlobal::config(), TQString::tqfromLatin1("ImportOptions - CSV")); + KConfigGroup config(KGlobal::config(), TQString::fromLatin1("ImportOptions - CSV")); m_delimiter = config.readEntry("Delimiter", m_delimiter); m_firstRowHeader = config.readBoolEntry("First Row Titles", m_firstRowHeader); |