diff options
Diffstat (limited to 'src/collectionfactory.cpp')
-rw-r--r-- | src/collectionfactory.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/collectionfactory.cpp b/src/collectionfactory.cpp index 974d254..e6f4178 100644 --- a/src/collectionfactory.cpp +++ b/src/collectionfactory.cpp @@ -79,7 +79,7 @@ Tellico::Data::CollPtr CollectionFactory::collection(int type_, bool addFields_) } Data::CollPtr c = new Data::Collection(i18n("My Collection")); - Data::FieldPtr f = new Data::Field(TQString::tqfromLatin1("title"), i18n("Title")); + Data::FieldPtr f = new Data::Field(TQString::fromLatin1("title"), i18n("Title")); f->setCategory(i18n("General")); f->setFlags(Data::Field::NoDelete); f->setFormatFlag(Data::Field::FormatTitle); @@ -140,60 +140,60 @@ Tellico::CollectionNameMap CollectionFactory::nameMap() { TQString CollectionFactory::typeName(int type_) { switch(type_) { case Data::Collection::Book: - return TQString::tqfromLatin1("book"); + return TQString::fromLatin1("book"); break; case Data::Collection::Video: - return TQString::tqfromLatin1("video"); + return TQString::fromLatin1("video"); break; case Data::Collection::Album: - return TQString::tqfromLatin1("album"); + return TQString::fromLatin1("album"); break; case Data::Collection::Bibtex: - return TQString::tqfromLatin1("bibtex"); + return TQString::fromLatin1("bibtex"); break; case Data::Collection::ComicBook: - return TQString::tqfromLatin1("comic"); + return TQString::fromLatin1("comic"); break; case Data::Collection::Wine: - return TQString::tqfromLatin1("wine"); + return TQString::fromLatin1("wine"); break; case Data::Collection::Coin: - return TQString::tqfromLatin1("coin"); + return TQString::fromLatin1("coin"); break; case Data::Collection::Stamp: - return TQString::tqfromLatin1("stamp"); + return TQString::fromLatin1("stamp"); break; case Data::Collection::Card: - return TQString::tqfromLatin1("card"); + return TQString::fromLatin1("card"); break; case Data::Collection::Game: - return TQString::tqfromLatin1("game"); + return TQString::fromLatin1("game"); break; case Data::Collection::File: - return TQString::tqfromLatin1("file"); + return TQString::fromLatin1("file"); break; case Data::Collection::BoardGame: - return TQString::tqfromLatin1("boardgame"); + return TQString::fromLatin1("boardgame"); break; case Data::Collection::Base: - return TQString::tqfromLatin1("entry"); + return TQString::fromLatin1("entry"); break; default: kdWarning() << "CollectionFactory::collection() - collection type not implemented: " << type_ << endl; - return TQString::tqfromLatin1("entry"); + return TQString::fromLatin1("entry"); break; } } |