summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dcopinterface.cpp2
-rw-r--r--src/core/drophandler.cpp10
-rw-r--r--src/core/tellico_config.cpp500
-rw-r--r--src/core/tellico_config_addons.cpp2
4 files changed, 257 insertions, 257 deletions
diff --git a/src/core/dcopinterface.cpp b/src/core/dcopinterface.cpp
index bd7014c..d81d776 100644
--- a/src/core/dcopinterface.cpp
+++ b/src/core/dcopinterface.cpp
@@ -163,7 +163,7 @@ bool CollectionInterface::addFieldValue(long id_, const TQString& fieldName_, co
TQStringList values = entry->fields(fieldName_, false);
TQStringList newValues = values;
newValues << value_;
- if(!entry->setField(fieldName_, newValues.join(TQString::tqfromLatin1("; ")))) {
+ if(!entry->setField(fieldName_, newValues.join(TQString::fromLatin1("; ")))) {
return false;
}
Kernel::self()->modifyEntries(oldEntry, entry);
diff --git a/src/core/drophandler.cpp b/src/core/drophandler.cpp
index 0535e61..e609e7b 100644
--- a/src/core/drophandler.cpp
+++ b/src/core/drophandler.cpp
@@ -63,14 +63,14 @@ bool DropHandler::handleURL(const KURL::List& urls_) {
KURL::List tc, pdf, bib, ris;
for(KURL::List::ConstIterator it = urls_.begin(); it != urls_.end(); ++it) {
KMimeType::Ptr ptr = KMimeType::findByURL(*it);
- if(ptr->is(TQString::tqfromLatin1("application/x-tellico"))) {
+ if(ptr->is(TQString::fromLatin1("application/x-tellico"))) {
tc << *it;
- } else if(ptr->is(TQString::tqfromLatin1("application/pdf"))) {
+ } else if(ptr->is(TQString::fromLatin1("application/pdf"))) {
pdf << *it;
- } else if(ptr->is(TQString::tqfromLatin1("text/x-bibtex")) ||
- ptr->is(TQString::tqfromLatin1("application/x-bibtex"))) {
+ } else if(ptr->is(TQString::fromLatin1("text/x-bibtex")) ||
+ ptr->is(TQString::fromLatin1("application/x-bibtex"))) {
bib << *it;
- } else if(ptr->is(TQString::tqfromLatin1("application/x-research-info-systems"))) {
+ } else if(ptr->is(TQString::fromLatin1("application/x-research-info-systems"))) {
ris << *it;
} else {
myDebug() << "DropHandler::handleURL() - unrecognized type: " << ptr->name() << " (" << *it << ")" << endl;
diff --git a/src/core/tellico_config.cpp b/src/core/tellico_config.cpp
index 4984cdb..50ab877 100644
--- a/src/core/tellico_config.cpp
+++ b/src/core/tellico_config.cpp
@@ -21,430 +21,430 @@ Config *Config::self()
}
Config::Config( )
- : KConfigSkeleton( TQString::tqfromLatin1( "tellicorc" ) )
+ : KConfigSkeleton( TQString::fromLatin1( "tellicorc" ) )
{
mSelf = this;
- setCurrentGroup( TQString::tqfromLatin1( "TipOfDay" ) );
+ setCurrentGroup( TQString::fromLatin1( "TipOfDay" ) );
KConfigSkeleton::ItemBool *itemShowTipOfDay;
- itemShowTipOfDay = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "RunOnStart" ), mShowTipOfDay, true );
- addItem( itemShowTipOfDay, TQString::tqfromLatin1( "showTipOfDay" ) );
+ itemShowTipOfDay = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RunOnStart" ), mShowTipOfDay, true );
+ addItem( itemShowTipOfDay, TQString::fromLatin1( "showTipOfDay" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Main Window Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "Main Window Options" ) );
TQValueList<int> defaultMainSplitterSizes;
KConfigSkeleton::ItemIntList *itemMainSplitterSizes;
- itemMainSplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), TQString::tqfromLatin1( "Main Splitter Sizes" ), mMainSplitterSizes, defaultMainSplitterSizes );
- addItem( itemMainSplitterSizes, TQString::tqfromLatin1( "MainSplitterSizes" ) );
+ itemMainSplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Main Splitter Sizes" ), mMainSplitterSizes, defaultMainSplitterSizes );
+ addItem( itemMainSplitterSizes, TQString::fromLatin1( "MainSplitterSizes" ) );
TQValueList<int> defaultSecondarySplitterSizes;
KConfigSkeleton::ItemIntList *itemSecondarySplitterSizes;
- itemSecondarySplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), TQString::tqfromLatin1( "Secondary Splitter Sizes" ), mSecondarySplitterSizes, defaultSecondarySplitterSizes );
- addItem( itemSecondarySplitterSizes, TQString::tqfromLatin1( "SecondarySplitterSizes" ) );
+ itemSecondarySplitterSizes = new KConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Secondary Splitter Sizes" ), mSecondarySplitterSizes, defaultSecondarySplitterSizes );
+ addItem( itemSecondarySplitterSizes, TQString::fromLatin1( "SecondarySplitterSizes" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Detailed View Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "Detailed View Options" ) );
KConfigSkeleton::ItemInt *itemMaxPixmapWidth;
- itemMaxPixmapWidth = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "MaxPixmapWidth" ), mMaxPixmapWidth, 50 );
- addItem( itemMaxPixmapWidth, TQString::tqfromLatin1( "MaxPixmapWidth" ) );
+ itemMaxPixmapWidth = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapWidth" ), mMaxPixmapWidth, 50 );
+ addItem( itemMaxPixmapWidth, TQString::fromLatin1( "MaxPixmapWidth" ) );
KConfigSkeleton::ItemInt *itemMaxPixmapHeight;
- itemMaxPixmapHeight = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "MaxPixmapHeight" ), mMaxPixmapHeight, 50 );
- addItem( itemMaxPixmapHeight, TQString::tqfromLatin1( "MaxPixmapHeight" ) );
+ itemMaxPixmapHeight = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapHeight" ), mMaxPixmapHeight, 50 );
+ addItem( itemMaxPixmapHeight, TQString::fromLatin1( "MaxPixmapHeight" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Group View Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "Group View Options" ) );
KConfigSkeleton::ItemInt *itemGroupViewSortColumn;
- itemGroupViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "SortColumn" ), mGroupViewSortColumn, 0 );
- addItem( itemGroupViewSortColumn, TQString::tqfromLatin1( "groupViewSortColumn" ) );
+ itemGroupViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mGroupViewSortColumn, 0 );
+ addItem( itemGroupViewSortColumn, TQString::fromLatin1( "groupViewSortColumn" ) );
KConfigSkeleton::ItemBool *itemGroupViewSortAscending;
- itemGroupViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "SortAscending" ), mGroupViewSortAscending, true );
- addItem( itemGroupViewSortAscending, TQString::tqfromLatin1( "groupViewSortAscending" ) );
+ itemGroupViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mGroupViewSortAscending, true );
+ addItem( itemGroupViewSortAscending, TQString::fromLatin1( "groupViewSortAscending" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Filter View Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "Filter View Options" ) );
KConfigSkeleton::ItemInt *itemFilterViewSortColumn;
- itemFilterViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "SortColumn" ), mFilterViewSortColumn, 0 );
- addItem( itemFilterViewSortColumn, TQString::tqfromLatin1( "filterViewSortColumn" ) );
+ itemFilterViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mFilterViewSortColumn, 0 );
+ addItem( itemFilterViewSortColumn, TQString::fromLatin1( "filterViewSortColumn" ) );
KConfigSkeleton::ItemBool *itemFilterViewSortAscending;
- itemFilterViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "SortAscending" ), mFilterViewSortAscending, true );
- addItem( itemFilterViewSortAscending, TQString::tqfromLatin1( "filterViewSortAscending" ) );
+ itemFilterViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mFilterViewSortAscending, true );
+ addItem( itemFilterViewSortAscending, TQString::fromLatin1( "filterViewSortAscending" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Loan View Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "Loan View Options" ) );
KConfigSkeleton::ItemInt *itemLoanViewSortColumn;
- itemLoanViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "SortColumn" ), mLoanViewSortColumn, 0 );
- addItem( itemLoanViewSortColumn, TQString::tqfromLatin1( "loanViewSortColumn" ) );
+ itemLoanViewSortColumn = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mLoanViewSortColumn, 0 );
+ addItem( itemLoanViewSortColumn, TQString::fromLatin1( "loanViewSortColumn" ) );
KConfigSkeleton::ItemBool *itemLoanViewSortAscending;
- itemLoanViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "SortAscending" ), mLoanViewSortAscending, true );
- addItem( itemLoanViewSortAscending, TQString::tqfromLatin1( "loanViewSortAscending" ) );
+ itemLoanViewSortAscending = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mLoanViewSortAscending, true );
+ addItem( itemLoanViewSortAscending, TQString::fromLatin1( "loanViewSortAscending" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Export Options - Bibtex" ) );
+ setCurrentGroup( TQString::fromLatin1( "Export Options - Bibtex" ) );
KConfigSkeleton::ItemBool *itemUseBraces;
- itemUseBraces = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Use Braces" ), mUseBraces, true );
- addItem( itemUseBraces, TQString::tqfromLatin1( "UseBraces" ) );
+ itemUseBraces = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Use Braces" ), mUseBraces, true );
+ addItem( itemUseBraces, TQString::fromLatin1( "UseBraces" ) );
- setCurrentGroup( TQString::tqfromLatin1( "General Options" ) );
+ setCurrentGroup( TQString::fromLatin1( "General Options" ) );
KConfigSkeleton::ItemBool *itemShowGroupWidget;
- itemShowGroupWidget = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Show Group Widget" ), mShowGroupWidget, true );
- addItem( itemShowGroupWidget, TQString::tqfromLatin1( "ShowGroupWidget" ) );
+ itemShowGroupWidget = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Group Widget" ), mShowGroupWidget, true );
+ addItem( itemShowGroupWidget, TQString::fromLatin1( "ShowGroupWidget" ) );
KConfigSkeleton::ItemBool *itemShowEditWidget;
- itemShowEditWidget = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Show Edit Widget" ), mShowEditWidget, false );
- addItem( itemShowEditWidget, TQString::tqfromLatin1( "ShowEditWidget" ) );
+ itemShowEditWidget = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Edit Widget" ), mShowEditWidget, false );
+ addItem( itemShowEditWidget, TQString::fromLatin1( "ShowEditWidget" ) );
KConfigSkeleton::ItemBool *itemShowEntryView;
- itemShowEntryView = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Show Entry View" ), mShowEntryView, true );
- addItem( itemShowEntryView, TQString::tqfromLatin1( "ShowEntryView" ) );
+ itemShowEntryView = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Entry View" ), mShowEntryView, true );
+ addItem( itemShowEntryView, TQString::fromLatin1( "ShowEntryView" ) );
TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesImageLocation;
{
KConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::tqfromLatin1( "ImagesInFile" );
+ choice.name = TQString::fromLatin1( "ImagesInFile" );
valuesImageLocation.append( choice );
}
{
KConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::tqfromLatin1( "ImagesInAppDir" );
+ choice.name = TQString::fromLatin1( "ImagesInAppDir" );
valuesImageLocation.append( choice );
}
{
KConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::tqfromLatin1( "ImagesInLocalDir" );
+ choice.name = TQString::fromLatin1( "ImagesInLocalDir" );
valuesImageLocation.append( choice );
}
KConfigSkeleton::ItemEnum *itemImageLocation;
- itemImageLocation = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::tqfromLatin1( "Image Location" ), mImageLocation, valuesImageLocation, ImagesInFile );
- addItem( itemImageLocation, TQString::tqfromLatin1( "ImageLocation" ) );
+ itemImageLocation = new KConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Image Location" ), mImageLocation, valuesImageLocation, ImagesInFile );
+ addItem( itemImageLocation, TQString::fromLatin1( "ImageLocation" ) );
KConfigSkeleton::ItemBool *itemAskWriteImagesInFile;
- itemAskWriteImagesInFile = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Ask Write Images In File" ), mAskWriteImagesInFile, true );
- addItem( itemAskWriteImagesInFile, TQString::tqfromLatin1( "AskWriteImagesInFile" ) );
+ itemAskWriteImagesInFile = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Ask Write Images In File" ), mAskWriteImagesInFile, true );
+ addItem( itemAskWriteImagesInFile, TQString::fromLatin1( "AskWriteImagesInFile" ) );
KConfigSkeleton::ItemBool *itemReopenLastFile;
- itemReopenLastFile = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Reopen Last File" ), mReopenLastFile, true );
- addItem( itemReopenLastFile, TQString::tqfromLatin1( "ReopenLastFile" ) );
+ itemReopenLastFile = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Reopen Last File" ), mReopenLastFile, true );
+ addItem( itemReopenLastFile, TQString::fromLatin1( "ReopenLastFile" ) );
KConfigSkeleton::ItemBool *itemAutoCapitalization;
- itemAutoCapitalization = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Auto Capitalization" ), mAutoCapitalization, true );
- addItem( itemAutoCapitalization, TQString::tqfromLatin1( "AutoCapitalization" ) );
+ itemAutoCapitalization = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Capitalization" ), mAutoCapitalization, true );
+ addItem( itemAutoCapitalization, TQString::fromLatin1( "AutoCapitalization" ) );
KConfigSkeleton::ItemBool *itemAutoFormat;
- itemAutoFormat = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Auto Format" ), mAutoFormat, true );
- addItem( itemAutoFormat, TQString::tqfromLatin1( "AutoFormat" ) );
+ itemAutoFormat = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Format" ), mAutoFormat, true );
+ addItem( itemAutoFormat, TQString::fromLatin1( "AutoFormat" ) );
KConfigSkeleton::ItemString *itemLastOpenFile;
- itemLastOpenFile = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Last Open File" ), mLastOpenFile );
- addItem( itemLastOpenFile, TQString::tqfromLatin1( "LastOpenFile" ) );
+ itemLastOpenFile = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Last Open File" ), mLastOpenFile );
+ addItem( itemLastOpenFile, TQString::fromLatin1( "LastOpenFile" ) );
KConfigSkeleton::ItemString *itemNoCapitalizationString;
- itemNoCapitalizationString = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "No Capitalization" ), mNoCapitalizationString, i18n("a,an,and,as,at,but,by,for,from,in,into,nor,of,off,on,onto,or,out,over,the,to,up,with") );
- addItem( itemNoCapitalizationString, TQString::tqfromLatin1( "noCapitalizationString" ) );
+ itemNoCapitalizationString = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "No Capitalization" ), mNoCapitalizationString, i18n("a,an,and,as,at,but,by,for,from,in,into,nor,of,off,on,onto,or,out,over,the,to,up,with") );
+ addItem( itemNoCapitalizationString, TQString::fromLatin1( "noCapitalizationString" ) );
KConfigSkeleton::ItemString *itemArticlesString;
- itemArticlesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Articles" ), mArticlesString, i18n("the") );
- addItem( itemArticlesString, TQString::tqfromLatin1( "articlesString" ) );
+ itemArticlesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Articles" ), mArticlesString, i18n("the") );
+ addItem( itemArticlesString, TQString::fromLatin1( "articlesString" ) );
KConfigSkeleton::ItemString *itemNameSuffixesString;
- itemNameSuffixesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Name Suffixes" ), mNameSuffixesString, i18n("jr.,jr,iii,iv") );
- addItem( itemNameSuffixesString, TQString::tqfromLatin1( "nameSuffixesString" ) );
+ itemNameSuffixesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Name Suffixes" ), mNameSuffixesString, i18n("jr.,jr,iii,iv") );
+ addItem( itemNameSuffixesString, TQString::fromLatin1( "nameSuffixesString" ) );
KConfigSkeleton::ItemString *itemSurnamePrefixesString;
- itemSurnamePrefixesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Surname Prefixes" ), mSurnamePrefixesString, i18n("de,van,der,van der,von") );
- addItem( itemSurnamePrefixesString, TQString::tqfromLatin1( "surnamePrefixesString" ) );
+ itemSurnamePrefixesString = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Surname Prefixes" ), mSurnamePrefixesString, i18n("de,van,der,van der,von") );
+ addItem( itemSurnamePrefixesString, TQString::fromLatin1( "surnamePrefixesString" ) );
KConfigSkeleton::ItemInt *itemMaxIconSize;
- itemMaxIconSize = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "Max Icon Size" ), mMaxIconSize, 96 );
- addItem( itemMaxIconSize, TQString::tqfromLatin1( "MaxIconSize" ) );
+ itemMaxIconSize = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Icon Size" ), mMaxIconSize, 96 );
+ addItem( itemMaxIconSize, TQString::fromLatin1( "MaxIconSize" ) );
KConfigSkeleton::ItemInt *itemImageCacheSize;
- itemImageCacheSize = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "Image Cache Size" ), mImageCacheSize, (10 * 1024 * 1024) );
- addItem( itemImageCacheSize, TQString::tqfromLatin1( "ImageCacheSize" ) );
+ itemImageCacheSize = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Image Cache Size" ), mImageCacheSize, (10 * 1024 * 1024) );
+ addItem( itemImageCacheSize, TQString::fromLatin1( "ImageCacheSize" ) );
KConfigSkeleton::ItemUInt *itemMaxCustomURLSettings;
- itemMaxCustomURLSettings = new KConfigSkeleton::ItemUInt( currentGroup(), TQString::tqfromLatin1( "Max Custom URL Settings" ), mMaxCustomURLSettings, 9 );
- addItem( itemMaxCustomURLSettings, TQString::tqfromLatin1( "MaxCustomURLSettings" ) );
+ itemMaxCustomURLSettings = new KConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Max Custom URL Settings" ), mMaxCustomURLSettings, 9 );
+ addItem( itemMaxCustomURLSettings, TQString::fromLatin1( "MaxCustomURLSettings" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Printing" ) );
+ setCurrentGroup( TQString::fromLatin1( "Printing" ) );
KConfigSkeleton::ItemBool *itemPrintFieldHeaders;
- itemPrintFieldHeaders = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Print Field Headers" ), mPrintFieldHeaders, true );
- addItem( itemPrintFieldHeaders, TQString::tqfromLatin1( "PrintFieldHeaders" ) );
+ itemPrintFieldHeaders = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Field Headers" ), mPrintFieldHeaders, true );
+ addItem( itemPrintFieldHeaders, TQString::fromLatin1( "PrintFieldHeaders" ) );
KConfigSkeleton::ItemBool *itemPrintFormatted;
- itemPrintFormatted = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Print Formatted" ), mPrintFormatted, true );
- addItem( itemPrintFormatted, TQString::tqfromLatin1( "PrintFormatted" ) );
+ itemPrintFormatted = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Formatted" ), mPrintFormatted, true );
+ addItem( itemPrintFormatted, TQString::fromLatin1( "PrintFormatted" ) );
KConfigSkeleton::ItemBool *itemPrintGrouped;
- itemPrintGrouped = new KConfigSkeleton::ItemBool( currentGroup(), TQString::tqfromLatin1( "Print Grouped" ), mPrintGrouped, true );
- addItem( itemPrintGrouped, TQString::tqfromLatin1( "PrintGrouped" ) );
+ itemPrintGrouped = new KConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Grouped" ), mPrintGrouped, true );
+ addItem( itemPrintGrouped, TQString::fromLatin1( "PrintGrouped" ) );
KConfigSkeleton::ItemInt *itemMaxImageWidth;
- itemMaxImageWidth = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "Max Image Width" ), mMaxImageWidth, 50 );
- addItem( itemMaxImageWidth, TQString::tqfromLatin1( "MaxImageWidth" ) );
+ itemMaxImageWidth = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Width" ), mMaxImageWidth, 50 );
+ addItem( itemMaxImageWidth, TQString::fromLatin1( "MaxImageWidth" ) );
KConfigSkeleton::ItemInt *itemMaxImageHeight;
- itemMaxImageHeight = new KConfigSkeleton::ItemInt( currentGroup(), TQString::tqfromLatin1( "Max Image Height" ), mMaxImageHeight, 50 );
- addItem( itemMaxImageHeight, TQString::tqfromLatin1( "MaxImageHeight" ) );
+ itemMaxImageHeight = new KConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Height" ), mMaxImageHeight, 50 );
+ addItem( itemMaxImageHeight, TQString::fromLatin1( "MaxImageHeight" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - book" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - book" ) );
KConfigSkeleton::ItemString *itemTemplateBook;
- itemTemplateBook = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateBook, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateBook, TQString::tqfromLatin1( "templateBook" ) );
+ itemTemplateBook = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBook, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateBook, TQString::fromLatin1( "templateBook" ) );
KConfigSkeleton::ItemFont *itemFontBook;
- itemFontBook = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontBook, KGlobalSettings::generalFont() );
- addItem( itemFontBook, TQString::tqfromLatin1( "fontBook" ) );
+ itemFontBook = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBook, KGlobalSettings::generalFont() );
+ addItem( itemFontBook, TQString::fromLatin1( "fontBook" ) );
KConfigSkeleton::ItemColor *itemBaseColorBook;
- itemBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorBook, KGlobalSettings::baseColor() );
- addItem( itemBaseColorBook, TQString::tqfromLatin1( "baseColorBook" ) );
+ itemBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBook, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorBook, TQString::fromLatin1( "baseColorBook" ) );
KConfigSkeleton::ItemColor *itemTextColorBook;
- itemTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorBook, KGlobalSettings::textColor() );
- addItem( itemTextColorBook, TQString::tqfromLatin1( "textColorBook" ) );
+ itemTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBook, KGlobalSettings::textColor() );
+ addItem( itemTextColorBook, TQString::fromLatin1( "textColorBook" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorBook;
- itemHighlightedBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBook, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBook, TQString::tqfromLatin1( "highlightedBaseColorBook" ) );
+ itemHighlightedBaseColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBook, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorBook, TQString::fromLatin1( "highlightedBaseColorBook" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorBook;
- itemHighlightedTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBook, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBook, TQString::tqfromLatin1( "highlightedTextColorBook" ) );
+ itemHighlightedTextColorBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBook, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorBook, TQString::fromLatin1( "highlightedTextColorBook" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - video" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - video" ) );
KConfigSkeleton::ItemString *itemTemplateVideo;
- itemTemplateVideo = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateVideo, TQString::tqfromLatin1( "Video" ) );
- addItem( itemTemplateVideo, TQString::tqfromLatin1( "templateVideo" ) );
+ itemTemplateVideo = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateVideo, TQString::fromLatin1( "Video" ) );
+ addItem( itemTemplateVideo, TQString::fromLatin1( "templateVideo" ) );
KConfigSkeleton::ItemFont *itemFontVideo;
- itemFontVideo = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontVideo, KGlobalSettings::generalFont() );
- addItem( itemFontVideo, TQString::tqfromLatin1( "fontVideo" ) );
+ itemFontVideo = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontVideo, KGlobalSettings::generalFont() );
+ addItem( itemFontVideo, TQString::fromLatin1( "fontVideo" ) );
KConfigSkeleton::ItemColor *itemBaseColorVideo;
- itemBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorVideo, KGlobalSettings::baseColor() );
- addItem( itemBaseColorVideo, TQString::tqfromLatin1( "baseColorVideo" ) );
+ itemBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorVideo, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorVideo, TQString::fromLatin1( "baseColorVideo" ) );
KConfigSkeleton::ItemColor *itemTextColorVideo;
- itemTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorVideo, KGlobalSettings::textColor() );
- addItem( itemTextColorVideo, TQString::tqfromLatin1( "textColorVideo" ) );
+ itemTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorVideo, KGlobalSettings::textColor() );
+ addItem( itemTextColorVideo, TQString::fromLatin1( "textColorVideo" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorVideo;
- itemHighlightedBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorVideo, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorVideo, TQString::tqfromLatin1( "highlightedBaseColorVideo" ) );
+ itemHighlightedBaseColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorVideo, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorVideo, TQString::fromLatin1( "highlightedBaseColorVideo" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorVideo;
- itemHighlightedTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorVideo, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorVideo, TQString::tqfromLatin1( "highlightedTextColorVideo" ) );
+ itemHighlightedTextColorVideo = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorVideo, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorVideo, TQString::fromLatin1( "highlightedTextColorVideo" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - album" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - album" ) );
KConfigSkeleton::ItemString *itemTemplateAlbum;
- itemTemplateAlbum = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateAlbum, TQString::tqfromLatin1( "Album" ) );
- addItem( itemTemplateAlbum, TQString::tqfromLatin1( "templateAlbum" ) );
+ itemTemplateAlbum = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateAlbum, TQString::fromLatin1( "Album" ) );
+ addItem( itemTemplateAlbum, TQString::fromLatin1( "templateAlbum" ) );
KConfigSkeleton::ItemFont *itemFontAlbum;
- itemFontAlbum = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontAlbum, KGlobalSettings::generalFont() );
- addItem( itemFontAlbum, TQString::tqfromLatin1( "fontAlbum" ) );
+ itemFontAlbum = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontAlbum, KGlobalSettings::generalFont() );
+ addItem( itemFontAlbum, TQString::fromLatin1( "fontAlbum" ) );
KConfigSkeleton::ItemColor *itemBaseColorAlbum;
- itemBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorAlbum, KGlobalSettings::baseColor() );
- addItem( itemBaseColorAlbum, TQString::tqfromLatin1( "baseColorAlbum" ) );
+ itemBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorAlbum, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorAlbum, TQString::fromLatin1( "baseColorAlbum" ) );
KConfigSkeleton::ItemColor *itemTextColorAlbum;
- itemTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorAlbum, KGlobalSettings::textColor() );
- addItem( itemTextColorAlbum, TQString::tqfromLatin1( "textColorAlbum" ) );
+ itemTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorAlbum, KGlobalSettings::textColor() );
+ addItem( itemTextColorAlbum, TQString::fromLatin1( "textColorAlbum" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorAlbum;
- itemHighlightedBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorAlbum, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorAlbum, TQString::tqfromLatin1( "highlightedBaseColorAlbum" ) );
+ itemHighlightedBaseColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorAlbum, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorAlbum, TQString::fromLatin1( "highlightedBaseColorAlbum" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorAlbum;
- itemHighlightedTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorAlbum, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorAlbum, TQString::tqfromLatin1( "highlightedTextColorAlbum" ) );
+ itemHighlightedTextColorAlbum = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorAlbum, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorAlbum, TQString::fromLatin1( "highlightedTextColorAlbum" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - bibtex" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - bibtex" ) );
KConfigSkeleton::ItemPath *itemLyxpipe;
- itemLyxpipe = new KConfigSkeleton::ItemPath( currentGroup(), TQString::tqfromLatin1( "lyxpipe" ), mLyxpipe, TQString::tqfromLatin1( "$HOME/.lyx/lyxpipe" ) );
- addItem( itemLyxpipe, TQString::tqfromLatin1( "lyxpipe" ) );
+ itemLyxpipe = new KConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "lyxpipe" ), mLyxpipe, TQString::fromLatin1( "$HOME/.lyx/lyxpipe" ) );
+ addItem( itemLyxpipe, TQString::fromLatin1( "lyxpipe" ) );
KConfigSkeleton::ItemString *itemTemplateBibtex;
- itemTemplateBibtex = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateBibtex, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateBibtex, TQString::tqfromLatin1( "templateBibtex" ) );
+ itemTemplateBibtex = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBibtex, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateBibtex, TQString::fromLatin1( "templateBibtex" ) );
KConfigSkeleton::ItemFont *itemFontBibtex;
- itemFontBibtex = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontBibtex, KGlobalSettings::generalFont() );
- addItem( itemFontBibtex, TQString::tqfromLatin1( "fontBibtex" ) );
+ itemFontBibtex = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBibtex, KGlobalSettings::generalFont() );
+ addItem( itemFontBibtex, TQString::fromLatin1( "fontBibtex" ) );
KConfigSkeleton::ItemColor *itemBaseColorBibtex;
- itemBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorBibtex, KGlobalSettings::baseColor() );
- addItem( itemBaseColorBibtex, TQString::tqfromLatin1( "baseColorBibtex" ) );
+ itemBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBibtex, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorBibtex, TQString::fromLatin1( "baseColorBibtex" ) );
KConfigSkeleton::ItemColor *itemTextColorBibtex;
- itemTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorBibtex, KGlobalSettings::textColor() );
- addItem( itemTextColorBibtex, TQString::tqfromLatin1( "textColorBibtex" ) );
+ itemTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBibtex, KGlobalSettings::textColor() );
+ addItem( itemTextColorBibtex, TQString::fromLatin1( "textColorBibtex" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorBibtex;
- itemHighlightedBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBibtex, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBibtex, TQString::tqfromLatin1( "highlightedBaseColorBibtex" ) );
+ itemHighlightedBaseColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBibtex, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorBibtex, TQString::fromLatin1( "highlightedBaseColorBibtex" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorBibtex;
- itemHighlightedTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBibtex, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBibtex, TQString::tqfromLatin1( "highlightedTextColorBibtex" ) );
+ itemHighlightedTextColorBibtex = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBibtex, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorBibtex, TQString::fromLatin1( "highlightedTextColorBibtex" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - comic" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - comic" ) );
KConfigSkeleton::ItemString *itemTemplateComicBook;
- itemTemplateComicBook = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateComicBook, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateComicBook, TQString::tqfromLatin1( "templateComicBook" ) );
+ itemTemplateComicBook = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateComicBook, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateComicBook, TQString::fromLatin1( "templateComicBook" ) );
KConfigSkeleton::ItemFont *itemFontComicBook;
- itemFontComicBook = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontComicBook, KGlobalSettings::generalFont() );
- addItem( itemFontComicBook, TQString::tqfromLatin1( "fontComicBook" ) );
+ itemFontComicBook = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontComicBook, KGlobalSettings::generalFont() );
+ addItem( itemFontComicBook, TQString::fromLatin1( "fontComicBook" ) );
KConfigSkeleton::ItemColor *itemBaseColorComicBook;
- itemBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorComicBook, KGlobalSettings::baseColor() );
- addItem( itemBaseColorComicBook, TQString::tqfromLatin1( "baseColorComicBook" ) );
+ itemBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorComicBook, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorComicBook, TQString::fromLatin1( "baseColorComicBook" ) );
KConfigSkeleton::ItemColor *itemTextColorComicBook;
- itemTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorComicBook, KGlobalSettings::textColor() );
- addItem( itemTextColorComicBook, TQString::tqfromLatin1( "textColorComicBook" ) );
+ itemTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorComicBook, KGlobalSettings::textColor() );
+ addItem( itemTextColorComicBook, TQString::fromLatin1( "textColorComicBook" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorComicBook;
- itemHighlightedBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorComicBook, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorComicBook, TQString::tqfromLatin1( "highlightedBaseColorComicBook" ) );
+ itemHighlightedBaseColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorComicBook, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorComicBook, TQString::fromLatin1( "highlightedBaseColorComicBook" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorComicBook;
- itemHighlightedTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorComicBook, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorComicBook, TQString::tqfromLatin1( "highlightedTextColorComicBook" ) );
+ itemHighlightedTextColorComicBook = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorComicBook, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorComicBook, TQString::fromLatin1( "highlightedTextColorComicBook" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - wine" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - wine" ) );
KConfigSkeleton::ItemString *itemTemplateWine;
- itemTemplateWine = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateWine, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateWine, TQString::tqfromLatin1( "templateWine" ) );
+ itemTemplateWine = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateWine, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateWine, TQString::fromLatin1( "templateWine" ) );
KConfigSkeleton::ItemFont *itemFontWine;
- itemFontWine = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontWine, KGlobalSettings::generalFont() );
- addItem( itemFontWine, TQString::tqfromLatin1( "fontWine" ) );
+ itemFontWine = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontWine, KGlobalSettings::generalFont() );
+ addItem( itemFontWine, TQString::fromLatin1( "fontWine" ) );
KConfigSkeleton::ItemColor *itemBaseColorWine;
- itemBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorWine, KGlobalSettings::baseColor() );
- addItem( itemBaseColorWine, TQString::tqfromLatin1( "baseColorWine" ) );
+ itemBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorWine, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorWine, TQString::fromLatin1( "baseColorWine" ) );
KConfigSkeleton::ItemColor *itemTextColorWine;
- itemTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorWine, KGlobalSettings::textColor() );
- addItem( itemTextColorWine, TQString::tqfromLatin1( "textColorWine" ) );
+ itemTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorWine, KGlobalSettings::textColor() );
+ addItem( itemTextColorWine, TQString::fromLatin1( "textColorWine" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorWine;
- itemHighlightedBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorWine, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorWine, TQString::tqfromLatin1( "highlightedBaseColorWine" ) );
+ itemHighlightedBaseColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorWine, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorWine, TQString::fromLatin1( "highlightedBaseColorWine" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorWine;
- itemHighlightedTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorWine, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorWine, TQString::tqfromLatin1( "highlightedTextColorWine" ) );
+ itemHighlightedTextColorWine = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorWine, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorWine, TQString::fromLatin1( "highlightedTextColorWine" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - coin" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - coin" ) );
KConfigSkeleton::ItemString *itemTemplateCoin;
- itemTemplateCoin = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateCoin, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateCoin, TQString::tqfromLatin1( "templateCoin" ) );
+ itemTemplateCoin = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCoin, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateCoin, TQString::fromLatin1( "templateCoin" ) );
KConfigSkeleton::ItemFont *itemFontCoin;
- itemFontCoin = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontCoin, KGlobalSettings::generalFont() );
- addItem( itemFontCoin, TQString::tqfromLatin1( "fontCoin" ) );
+ itemFontCoin = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCoin, KGlobalSettings::generalFont() );
+ addItem( itemFontCoin, TQString::fromLatin1( "fontCoin" ) );
KConfigSkeleton::ItemColor *itemBaseColorCoin;
- itemBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorCoin, KGlobalSettings::baseColor() );
- addItem( itemBaseColorCoin, TQString::tqfromLatin1( "baseColorCoin" ) );
+ itemBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCoin, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorCoin, TQString::fromLatin1( "baseColorCoin" ) );
KConfigSkeleton::ItemColor *itemTextColorCoin;
- itemTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorCoin, KGlobalSettings::textColor() );
- addItem( itemTextColorCoin, TQString::tqfromLatin1( "textColorCoin" ) );
+ itemTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCoin, KGlobalSettings::textColor() );
+ addItem( itemTextColorCoin, TQString::fromLatin1( "textColorCoin" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorCoin;
- itemHighlightedBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCoin, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorCoin, TQString::tqfromLatin1( "highlightedBaseColorCoin" ) );
+ itemHighlightedBaseColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCoin, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorCoin, TQString::fromLatin1( "highlightedBaseColorCoin" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorCoin;
- itemHighlightedTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCoin, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorCoin, TQString::tqfromLatin1( "highlightedTextColorCoin" ) );
+ itemHighlightedTextColorCoin = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCoin, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorCoin, TQString::fromLatin1( "highlightedTextColorCoin" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - stamp" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - stamp" ) );
KConfigSkeleton::ItemString *itemTemplateStamp;
- itemTemplateStamp = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateStamp, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateStamp, TQString::tqfromLatin1( "templateStamp" ) );
+ itemTemplateStamp = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateStamp, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateStamp, TQString::fromLatin1( "templateStamp" ) );
KConfigSkeleton::ItemFont *itemFontStamp;
- itemFontStamp = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontStamp, KGlobalSettings::generalFont() );
- addItem( itemFontStamp, TQString::tqfromLatin1( "fontStamp" ) );
+ itemFontStamp = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontStamp, KGlobalSettings::generalFont() );
+ addItem( itemFontStamp, TQString::fromLatin1( "fontStamp" ) );
KConfigSkeleton::ItemColor *itemBaseColorStamp;
- itemBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorStamp, KGlobalSettings::baseColor() );
- addItem( itemBaseColorStamp, TQString::tqfromLatin1( "baseColorStamp" ) );
+ itemBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorStamp, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorStamp, TQString::fromLatin1( "baseColorStamp" ) );
KConfigSkeleton::ItemColor *itemTextColorStamp;
- itemTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorStamp, KGlobalSettings::textColor() );
- addItem( itemTextColorStamp, TQString::tqfromLatin1( "textColorStamp" ) );
+ itemTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorStamp, KGlobalSettings::textColor() );
+ addItem( itemTextColorStamp, TQString::fromLatin1( "textColorStamp" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorStamp;
- itemHighlightedBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorStamp, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorStamp, TQString::tqfromLatin1( "highlightedBaseColorStamp" ) );
+ itemHighlightedBaseColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorStamp, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorStamp, TQString::fromLatin1( "highlightedBaseColorStamp" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorStamp;
- itemHighlightedTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorStamp, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorStamp, TQString::tqfromLatin1( "highlightedTextColorStamp" ) );
+ itemHighlightedTextColorStamp = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorStamp, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorStamp, TQString::fromLatin1( "highlightedTextColorStamp" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - card" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - card" ) );
KConfigSkeleton::ItemString *itemTemplateCard;
- itemTemplateCard = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateCard, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateCard, TQString::tqfromLatin1( "templateCard" ) );
+ itemTemplateCard = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCard, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateCard, TQString::fromLatin1( "templateCard" ) );
KConfigSkeleton::ItemFont *itemFontCard;
- itemFontCard = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontCard, KGlobalSettings::generalFont() );
- addItem( itemFontCard, TQString::tqfromLatin1( "fontCard" ) );
+ itemFontCard = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCard, KGlobalSettings::generalFont() );
+ addItem( itemFontCard, TQString::fromLatin1( "fontCard" ) );
KConfigSkeleton::ItemColor *itemBaseColorCard;
- itemBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorCard, KGlobalSettings::baseColor() );
- addItem( itemBaseColorCard, TQString::tqfromLatin1( "baseColorCard" ) );
+ itemBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCard, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorCard, TQString::fromLatin1( "baseColorCard" ) );
KConfigSkeleton::ItemColor *itemTextColorCard;
- itemTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorCard, KGlobalSettings::textColor() );
- addItem( itemTextColorCard, TQString::tqfromLatin1( "textColorCard" ) );
+ itemTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCard, KGlobalSettings::textColor() );
+ addItem( itemTextColorCard, TQString::fromLatin1( "textColorCard" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorCard;
- itemHighlightedBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCard, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorCard, TQString::tqfromLatin1( "highlightedBaseColorCard" ) );
+ itemHighlightedBaseColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCard, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorCard, TQString::fromLatin1( "highlightedBaseColorCard" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorCard;
- itemHighlightedTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCard, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorCard, TQString::tqfromLatin1( "highlightedTextColorCard" ) );
+ itemHighlightedTextColorCard = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCard, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorCard, TQString::fromLatin1( "highlightedTextColorCard" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - game" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - game" ) );
KConfigSkeleton::ItemString *itemTemplateGame;
- itemTemplateGame = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateGame, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateGame, TQString::tqfromLatin1( "templateGame" ) );
+ itemTemplateGame = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateGame, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateGame, TQString::fromLatin1( "templateGame" ) );
KConfigSkeleton::ItemFont *itemFontGame;
- itemFontGame = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontGame, KGlobalSettings::generalFont() );
- addItem( itemFontGame, TQString::tqfromLatin1( "fontGame" ) );
+ itemFontGame = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontGame, KGlobalSettings::generalFont() );
+ addItem( itemFontGame, TQString::fromLatin1( "fontGame" ) );
KConfigSkeleton::ItemColor *itemBaseColorGame;
- itemBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorGame, KGlobalSettings::baseColor() );
- addItem( itemBaseColorGame, TQString::tqfromLatin1( "baseColorGame" ) );
+ itemBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorGame, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorGame, TQString::fromLatin1( "baseColorGame" ) );
KConfigSkeleton::ItemColor *itemTextColorGame;
- itemTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorGame, KGlobalSettings::textColor() );
- addItem( itemTextColorGame, TQString::tqfromLatin1( "textColorGame" ) );
+ itemTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorGame, KGlobalSettings::textColor() );
+ addItem( itemTextColorGame, TQString::fromLatin1( "textColorGame" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorGame;
- itemHighlightedBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorGame, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorGame, TQString::tqfromLatin1( "highlightedBaseColorGame" ) );
+ itemHighlightedBaseColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorGame, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorGame, TQString::fromLatin1( "highlightedBaseColorGame" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorGame;
- itemHighlightedTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorGame, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorGame, TQString::tqfromLatin1( "highlightedTextColorGame" ) );
+ itemHighlightedTextColorGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorGame, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorGame, TQString::fromLatin1( "highlightedTextColorGame" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - file" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - file" ) );
KConfigSkeleton::ItemString *itemTemplateFile;
- itemTemplateFile = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateFile, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateFile, TQString::tqfromLatin1( "templateFile" ) );
+ itemTemplateFile = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateFile, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateFile, TQString::fromLatin1( "templateFile" ) );
KConfigSkeleton::ItemFont *itemFontFile;
- itemFontFile = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontFile, KGlobalSettings::generalFont() );
- addItem( itemFontFile, TQString::tqfromLatin1( "fontFile" ) );
+ itemFontFile = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontFile, KGlobalSettings::generalFont() );
+ addItem( itemFontFile, TQString::fromLatin1( "fontFile" ) );
KConfigSkeleton::ItemColor *itemBaseColorFile;
- itemBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorFile, KGlobalSettings::baseColor() );
- addItem( itemBaseColorFile, TQString::tqfromLatin1( "baseColorFile" ) );
+ itemBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorFile, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorFile, TQString::fromLatin1( "baseColorFile" ) );
KConfigSkeleton::ItemColor *itemTextColorFile;
- itemTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorFile, KGlobalSettings::textColor() );
- addItem( itemTextColorFile, TQString::tqfromLatin1( "textColorFile" ) );
+ itemTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorFile, KGlobalSettings::textColor() );
+ addItem( itemTextColorFile, TQString::fromLatin1( "textColorFile" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorFile;
- itemHighlightedBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorFile, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorFile, TQString::tqfromLatin1( "highlightedBaseColorFile" ) );
+ itemHighlightedBaseColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorFile, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorFile, TQString::fromLatin1( "highlightedBaseColorFile" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorFile;
- itemHighlightedTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorFile, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorFile, TQString::tqfromLatin1( "highlightedTextColorFile" ) );
+ itemHighlightedTextColorFile = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorFile, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorFile, TQString::fromLatin1( "highlightedTextColorFile" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - boardgame" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - boardgame" ) );
KConfigSkeleton::ItemString *itemTemplateBoardGame;
- itemTemplateBoardGame = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateBoardGame, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateBoardGame, TQString::tqfromLatin1( "templateBoardGame" ) );
+ itemTemplateBoardGame = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBoardGame, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateBoardGame, TQString::fromLatin1( "templateBoardGame" ) );
KConfigSkeleton::ItemFont *itemFontBoardGame;
- itemFontBoardGame = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontBoardGame, KGlobalSettings::generalFont() );
- addItem( itemFontBoardGame, TQString::tqfromLatin1( "fontBoardGame" ) );
+ itemFontBoardGame = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBoardGame, KGlobalSettings::generalFont() );
+ addItem( itemFontBoardGame, TQString::fromLatin1( "fontBoardGame" ) );
KConfigSkeleton::ItemColor *itemBaseColorBoardGame;
- itemBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorBoardGame, KGlobalSettings::baseColor() );
- addItem( itemBaseColorBoardGame, TQString::tqfromLatin1( "baseColorBoardGame" ) );
+ itemBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBoardGame, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorBoardGame, TQString::fromLatin1( "baseColorBoardGame" ) );
KConfigSkeleton::ItemColor *itemTextColorBoardGame;
- itemTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorBoardGame, KGlobalSettings::textColor() );
- addItem( itemTextColorBoardGame, TQString::tqfromLatin1( "textColorBoardGame" ) );
+ itemTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBoardGame, KGlobalSettings::textColor() );
+ addItem( itemTextColorBoardGame, TQString::fromLatin1( "textColorBoardGame" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorBoardGame;
- itemHighlightedBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBoardGame, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBoardGame, TQString::tqfromLatin1( "highlightedBaseColorBoardGame" ) );
+ itemHighlightedBaseColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBoardGame, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorBoardGame, TQString::fromLatin1( "highlightedBaseColorBoardGame" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorBoardGame;
- itemHighlightedTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBoardGame, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBoardGame, TQString::tqfromLatin1( "highlightedTextColorBoardGame" ) );
+ itemHighlightedTextColorBoardGame = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBoardGame, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorBoardGame, TQString::fromLatin1( "highlightedTextColorBoardGame" ) );
- setCurrentGroup( TQString::tqfromLatin1( "Options - entry" ) );
+ setCurrentGroup( TQString::fromLatin1( "Options - entry" ) );
KConfigSkeleton::ItemString *itemTemplateBase;
- itemTemplateBase = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "Entry Template" ), mTemplateBase, TQString::tqfromLatin1( "Fancy" ) );
- addItem( itemTemplateBase, TQString::tqfromLatin1( "templateBase" ) );
+ itemTemplateBase = new KConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBase, TQString::fromLatin1( "Fancy" ) );
+ addItem( itemTemplateBase, TQString::fromLatin1( "templateBase" ) );
KConfigSkeleton::ItemFont *itemFontBase;
- itemFontBase = new KConfigSkeleton::ItemFont( currentGroup(), TQString::tqfromLatin1( "Template Font" ), mFontBase, KGlobalSettings::generalFont() );
- addItem( itemFontBase, TQString::tqfromLatin1( "fontBase" ) );
+ itemFontBase = new KConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBase, KGlobalSettings::generalFont() );
+ addItem( itemFontBase, TQString::fromLatin1( "fontBase" ) );
KConfigSkeleton::ItemColor *itemBaseColorBase;
- itemBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Base Color" ), mBaseColorBase, KGlobalSettings::baseColor() );
- addItem( itemBaseColorBase, TQString::tqfromLatin1( "baseColorBase" ) );
+ itemBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBase, KGlobalSettings::baseColor() );
+ addItem( itemBaseColorBase, TQString::fromLatin1( "baseColorBase" ) );
KConfigSkeleton::ItemColor *itemTextColorBase;
- itemTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Text Color" ), mTextColorBase, KGlobalSettings::textColor() );
- addItem( itemTextColorBase, TQString::tqfromLatin1( "textColorBase" ) );
+ itemTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBase, KGlobalSettings::textColor() );
+ addItem( itemTextColorBase, TQString::fromLatin1( "textColorBase" ) );
KConfigSkeleton::ItemColor *itemHighlightedBaseColorBase;
- itemHighlightedBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBase, KGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBase, TQString::tqfromLatin1( "highlightedBaseColorBase" ) );
+ itemHighlightedBaseColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBase, KGlobalSettings::highlightColor() );
+ addItem( itemHighlightedBaseColorBase, TQString::fromLatin1( "highlightedBaseColorBase" ) );
KConfigSkeleton::ItemColor *itemHighlightedTextColorBase;
- itemHighlightedTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::tqfromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBase, KGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBase, TQString::tqfromLatin1( "highlightedTextColorBase" ) );
+ itemHighlightedTextColorBase = new KConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBase, KGlobalSettings::highlightedTextColor() );
+ addItem( itemHighlightedTextColorBase, TQString::fromLatin1( "highlightedTextColorBase" ) );
}
Config::~Config()
diff --git a/src/core/tellico_config_addons.cpp b/src/core/tellico_config_addons.cpp
index e4e7260..49890ef 100644
--- a/src/core/tellico_config_addons.cpp
+++ b/src/core/tellico_config_addons.cpp
@@ -54,7 +54,7 @@
SET(name, BoardGame, value)
namespace {
- static const TQRegExp commaSplit = TQRegExp(TQString::tqfromLatin1("\\s*,\\s*"));
+ static const TQRegExp commaSplit = TQRegExp(TQString::fromLatin1("\\s*,\\s*"));
}
using Tellico::Config;