summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-18 20:34:40 +0200
committerSlávek Banko <[email protected]>2016-09-18 20:37:04 +0200
commite92dc6bf694aea0048ea774c3226a135cd61b6ff (patch)
treed21d0a5120c8cc15bb80c0275c57d35b4e47c785 /src
parent2304954b60ecf1f43078db5f3eccbb83cc6e1ab2 (diff)
downloadtellico-e92dc6bf694aea0048ea774c3226a135cd61b6ff.tar.gz
tellico-e92dc6bf694aea0048ea774c3226a135cd61b6ff.zip
Fix FTBFS when using --enable-final
Removed generated tellico_config.cpp Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 3fbf943ee75e74a85c489508303987cfd5f8ea01)
Diffstat (limited to 'src')
-rw-r--r--src/core/Makefile.am2
-rw-r--r--src/core/tellico_config.cpp455
-rw-r--r--src/translators/pilotdbexporter.cpp2
3 files changed, 2 insertions, 457 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index 01bf5a8..7882a19 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -2,7 +2,7 @@ AM_CPPFLAGS = $(all_includes)
noinst_LIBRARIES = libcore.a
libcore_a_SOURCES = dcopinterface.cpp dcopinterface.skel drophandler.cpp \
- netaccess.cpp tellico_config.cpp tellico_config.kcfgc tellico_config_addons.cpp
+ netaccess.cpp tellico_config.kcfgc tellico_config_addons.cpp
libcore_a_METASOURCES = AUTO
diff --git a/src/core/tellico_config.cpp b/src/core/tellico_config.cpp
deleted file mode 100644
index 07f705c..0000000
--- a/src/core/tellico_config.cpp
+++ /dev/null
@@ -1,455 +0,0 @@
-// This file is generated by tdeconfig_compiler from tellico_config.kcfg.
-// All changes you do to this file will be lost.
-
-#include "tellico_config.h"
-
-#include <kstaticdeleter.h>
-
-using namespace Tellico;
-
-Config *Config::mSelf = 0;
-static KStaticDeleter<Config> staticConfigDeleter;
-
-Config *Config::self()
-{
- if ( !mSelf ) {
- staticConfigDeleter.setObject( mSelf, new Config() );
- mSelf->readConfig();
- }
-
- return mSelf;
-}
-
-Config::Config( )
- : TDEConfigSkeleton( TQString::fromLatin1( "tellicorc" ) )
-{
- mSelf = this;
- setCurrentGroup( TQString::fromLatin1( "TipOfDay" ) );
-
- TDEConfigSkeleton::ItemBool *itemShowTipOfDay;
- itemShowTipOfDay = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "RunOnStart" ), mShowTipOfDay, true );
- addItem( itemShowTipOfDay, TQString::fromLatin1( "showTipOfDay" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Main Window Options" ) );
-
- TQValueList<int> defaultMainSplitterSizes;
-
- TDEConfigSkeleton::ItemIntList *itemMainSplitterSizes;
- itemMainSplitterSizes = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Main Splitter Sizes" ), mMainSplitterSizes, defaultMainSplitterSizes );
- addItem( itemMainSplitterSizes, TQString::fromLatin1( "MainSplitterSizes" ) );
- TQValueList<int> defaultSecondarySplitterSizes;
-
- TDEConfigSkeleton::ItemIntList *itemSecondarySplitterSizes;
- itemSecondarySplitterSizes = new TDEConfigSkeleton::ItemIntList( currentGroup(), TQString::fromLatin1( "Secondary Splitter Sizes" ), mSecondarySplitterSizes, defaultSecondarySplitterSizes );
- addItem( itemSecondarySplitterSizes, TQString::fromLatin1( "SecondarySplitterSizes" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Detailed View Options" ) );
-
- TDEConfigSkeleton::ItemInt *itemMaxPixmapWidth;
- itemMaxPixmapWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapWidth" ), mMaxPixmapWidth, 50 );
- addItem( itemMaxPixmapWidth, TQString::fromLatin1( "MaxPixmapWidth" ) );
- TDEConfigSkeleton::ItemInt *itemMaxPixmapHeight;
- itemMaxPixmapHeight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "MaxPixmapHeight" ), mMaxPixmapHeight, 50 );
- addItem( itemMaxPixmapHeight, TQString::fromLatin1( "MaxPixmapHeight" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Group View Options" ) );
-
- TDEConfigSkeleton::ItemInt *itemGroupViewSortColumn;
- itemGroupViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mGroupViewSortColumn, 0 );
- addItem( itemGroupViewSortColumn, TQString::fromLatin1( "groupViewSortColumn" ) );
- TDEConfigSkeleton::ItemBool *itemGroupViewSortAscending;
- itemGroupViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mGroupViewSortAscending, true );
- addItem( itemGroupViewSortAscending, TQString::fromLatin1( "groupViewSortAscending" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Filter View Options" ) );
-
- TDEConfigSkeleton::ItemInt *itemFilterViewSortColumn;
- itemFilterViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mFilterViewSortColumn, 0 );
- addItem( itemFilterViewSortColumn, TQString::fromLatin1( "filterViewSortColumn" ) );
- TDEConfigSkeleton::ItemBool *itemFilterViewSortAscending;
- itemFilterViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mFilterViewSortAscending, true );
- addItem( itemFilterViewSortAscending, TQString::fromLatin1( "filterViewSortAscending" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Loan View Options" ) );
-
- TDEConfigSkeleton::ItemInt *itemLoanViewSortColumn;
- itemLoanViewSortColumn = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "SortColumn" ), mLoanViewSortColumn, 0 );
- addItem( itemLoanViewSortColumn, TQString::fromLatin1( "loanViewSortColumn" ) );
- TDEConfigSkeleton::ItemBool *itemLoanViewSortAscending;
- itemLoanViewSortAscending = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "SortAscending" ), mLoanViewSortAscending, true );
- addItem( itemLoanViewSortAscending, TQString::fromLatin1( "loanViewSortAscending" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Export Options - Bibtex" ) );
-
- TDEConfigSkeleton::ItemBool *itemUseBraces;
- itemUseBraces = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Use Braces" ), mUseBraces, true );
- addItem( itemUseBraces, TQString::fromLatin1( "UseBraces" ) );
-
- setCurrentGroup( TQString::fromLatin1( "General Options" ) );
-
- TDEConfigSkeleton::ItemBool *itemShowGroupWidget;
- itemShowGroupWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Group Widget" ), mShowGroupWidget, true );
- addItem( itemShowGroupWidget, TQString::fromLatin1( "ShowGroupWidget" ) );
- TDEConfigSkeleton::ItemBool *itemShowEditWidget;
- itemShowEditWidget = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Edit Widget" ), mShowEditWidget, false );
- addItem( itemShowEditWidget, TQString::fromLatin1( "ShowEditWidget" ) );
- TDEConfigSkeleton::ItemBool *itemShowEntryView;
- itemShowEntryView = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Show Entry View" ), mShowEntryView, true );
- addItem( itemShowEntryView, TQString::fromLatin1( "ShowEntryView" ) );
- TQValueList<TDEConfigSkeleton::ItemEnum::Choice> valuesImageLocation;
- {
- TDEConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::fromLatin1( "ImagesInFile" );
- valuesImageLocation.append( choice );
- }
- {
- TDEConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::fromLatin1( "ImagesInAppDir" );
- valuesImageLocation.append( choice );
- }
- {
- TDEConfigSkeleton::ItemEnum::Choice choice;
- choice.name = TQString::fromLatin1( "ImagesInLocalDir" );
- valuesImageLocation.append( choice );
- }
- TDEConfigSkeleton::ItemEnum *itemImageLocation;
- itemImageLocation = new TDEConfigSkeleton::ItemEnum( currentGroup(), TQString::fromLatin1( "Image Location" ), mImageLocation, valuesImageLocation, ImagesInFile );
- addItem( itemImageLocation, TQString::fromLatin1( "ImageLocation" ) );
- TDEConfigSkeleton::ItemBool *itemAskWriteImagesInFile;
- itemAskWriteImagesInFile = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Ask Write Images In File" ), mAskWriteImagesInFile, true );
- addItem( itemAskWriteImagesInFile, TQString::fromLatin1( "AskWriteImagesInFile" ) );
- TDEConfigSkeleton::ItemBool *itemReopenLastFile;
- itemReopenLastFile = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Reopen Last File" ), mReopenLastFile, true );
- addItem( itemReopenLastFile, TQString::fromLatin1( "ReopenLastFile" ) );
- TDEConfigSkeleton::ItemBool *itemAutoCapitalization;
- itemAutoCapitalization = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Capitalization" ), mAutoCapitalization, true );
- addItem( itemAutoCapitalization, TQString::fromLatin1( "AutoCapitalization" ) );
- TDEConfigSkeleton::ItemBool *itemAutoFormat;
- itemAutoFormat = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Auto Format" ), mAutoFormat, true );
- addItem( itemAutoFormat, TQString::fromLatin1( "AutoFormat" ) );
- TDEConfigSkeleton::ItemString *itemLastOpenFile;
- itemLastOpenFile = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Last Open File" ), mLastOpenFile );
- addItem( itemLastOpenFile, TQString::fromLatin1( "LastOpenFile" ) );
- TDEConfigSkeleton::ItemString *itemNoCapitalizationString;
- itemNoCapitalizationString = new TDEConfigSkeleton::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" ) );
- TDEConfigSkeleton::ItemString *itemArticlesString;
- itemArticlesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Articles" ), mArticlesString, i18n("the") );
- addItem( itemArticlesString, TQString::fromLatin1( "articlesString" ) );
- TDEConfigSkeleton::ItemString *itemNameSuffixesString;
- itemNameSuffixesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Name Suffixes" ), mNameSuffixesString, i18n("jr.,jr,iii,iv") );
- addItem( itemNameSuffixesString, TQString::fromLatin1( "nameSuffixesString" ) );
- TDEConfigSkeleton::ItemString *itemSurnamePrefixesString;
- itemSurnamePrefixesString = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Surname Prefixes" ), mSurnamePrefixesString, i18n("de,van,der,van der,von") );
- addItem( itemSurnamePrefixesString, TQString::fromLatin1( "surnamePrefixesString" ) );
- TDEConfigSkeleton::ItemInt *itemMaxIconSize;
- itemMaxIconSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Icon Size" ), mMaxIconSize, 96 );
- addItem( itemMaxIconSize, TQString::fromLatin1( "MaxIconSize" ) );
- TDEConfigSkeleton::ItemInt *itemImageCacheSize;
- itemImageCacheSize = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Image Cache Size" ), mImageCacheSize, (10 * 1024 * 1024) );
- addItem( itemImageCacheSize, TQString::fromLatin1( "ImageCacheSize" ) );
- TDEConfigSkeleton::ItemUInt *itemMaxCustomURLSettings;
- itemMaxCustomURLSettings = new TDEConfigSkeleton::ItemUInt( currentGroup(), TQString::fromLatin1( "Max Custom URL Settings" ), mMaxCustomURLSettings, 9 );
- addItem( itemMaxCustomURLSettings, TQString::fromLatin1( "MaxCustomURLSettings" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Printing" ) );
-
- TDEConfigSkeleton::ItemBool *itemPrintFieldHeaders;
- itemPrintFieldHeaders = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Field Headers" ), mPrintFieldHeaders, true );
- addItem( itemPrintFieldHeaders, TQString::fromLatin1( "PrintFieldHeaders" ) );
- TDEConfigSkeleton::ItemBool *itemPrintFormatted;
- itemPrintFormatted = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Formatted" ), mPrintFormatted, true );
- addItem( itemPrintFormatted, TQString::fromLatin1( "PrintFormatted" ) );
- TDEConfigSkeleton::ItemBool *itemPrintGrouped;
- itemPrintGrouped = new TDEConfigSkeleton::ItemBool( currentGroup(), TQString::fromLatin1( "Print Grouped" ), mPrintGrouped, true );
- addItem( itemPrintGrouped, TQString::fromLatin1( "PrintGrouped" ) );
- TDEConfigSkeleton::ItemInt *itemMaxImageWidth;
- itemMaxImageWidth = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Width" ), mMaxImageWidth, 50 );
- addItem( itemMaxImageWidth, TQString::fromLatin1( "MaxImageWidth" ) );
- TDEConfigSkeleton::ItemInt *itemMaxImageHeight;
- itemMaxImageHeight = new TDEConfigSkeleton::ItemInt( currentGroup(), TQString::fromLatin1( "Max Image Height" ), mMaxImageHeight, 50 );
- addItem( itemMaxImageHeight, TQString::fromLatin1( "MaxImageHeight" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - book" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateBook;
- itemTemplateBook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBook, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateBook, TQString::fromLatin1( "templateBook" ) );
- TDEConfigSkeleton::ItemFont *itemFontBook;
- itemFontBook = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBook, TDEGlobalSettings::generalFont() );
- addItem( itemFontBook, TQString::fromLatin1( "fontBook" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorBook;
- itemBaseColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBook, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorBook, TQString::fromLatin1( "baseColorBook" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorBook;
- itemTextColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBook, TDEGlobalSettings::textColor() );
- addItem( itemTextColorBook, TQString::fromLatin1( "textColorBook" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBook;
- itemHighlightedBaseColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBook, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBook, TQString::fromLatin1( "highlightedBaseColorBook" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBook;
- itemHighlightedTextColorBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBook, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBook, TQString::fromLatin1( "highlightedTextColorBook" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - video" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateVideo;
- itemTemplateVideo = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateVideo, TQString::fromLatin1( "Video" ) );
- addItem( itemTemplateVideo, TQString::fromLatin1( "templateVideo" ) );
- TDEConfigSkeleton::ItemFont *itemFontVideo;
- itemFontVideo = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontVideo, TDEGlobalSettings::generalFont() );
- addItem( itemFontVideo, TQString::fromLatin1( "fontVideo" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorVideo;
- itemBaseColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorVideo, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorVideo, TQString::fromLatin1( "baseColorVideo" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorVideo;
- itemTextColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorVideo, TDEGlobalSettings::textColor() );
- addItem( itemTextColorVideo, TQString::fromLatin1( "textColorVideo" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorVideo;
- itemHighlightedBaseColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorVideo, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorVideo, TQString::fromLatin1( "highlightedBaseColorVideo" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorVideo;
- itemHighlightedTextColorVideo = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorVideo, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorVideo, TQString::fromLatin1( "highlightedTextColorVideo" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - album" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateAlbum;
- itemTemplateAlbum = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateAlbum, TQString::fromLatin1( "Album" ) );
- addItem( itemTemplateAlbum, TQString::fromLatin1( "templateAlbum" ) );
- TDEConfigSkeleton::ItemFont *itemFontAlbum;
- itemFontAlbum = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontAlbum, TDEGlobalSettings::generalFont() );
- addItem( itemFontAlbum, TQString::fromLatin1( "fontAlbum" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorAlbum;
- itemBaseColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorAlbum, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorAlbum, TQString::fromLatin1( "baseColorAlbum" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorAlbum;
- itemTextColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorAlbum, TDEGlobalSettings::textColor() );
- addItem( itemTextColorAlbum, TQString::fromLatin1( "textColorAlbum" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorAlbum;
- itemHighlightedBaseColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorAlbum, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorAlbum, TQString::fromLatin1( "highlightedBaseColorAlbum" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorAlbum;
- itemHighlightedTextColorAlbum = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorAlbum, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorAlbum, TQString::fromLatin1( "highlightedTextColorAlbum" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - bibtex" ) );
-
- TDEConfigSkeleton::ItemPath *itemLyxpipe;
- itemLyxpipe = new TDEConfigSkeleton::ItemPath( currentGroup(), TQString::fromLatin1( "lyxpipe" ), mLyxpipe, TQString::fromLatin1( "$HOME/.lyx/lyxpipe" ) );
- addItem( itemLyxpipe, TQString::fromLatin1( "lyxpipe" ) );
- TDEConfigSkeleton::ItemString *itemTemplateBibtex;
- itemTemplateBibtex = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBibtex, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateBibtex, TQString::fromLatin1( "templateBibtex" ) );
- TDEConfigSkeleton::ItemFont *itemFontBibtex;
- itemFontBibtex = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBibtex, TDEGlobalSettings::generalFont() );
- addItem( itemFontBibtex, TQString::fromLatin1( "fontBibtex" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorBibtex;
- itemBaseColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBibtex, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorBibtex, TQString::fromLatin1( "baseColorBibtex" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorBibtex;
- itemTextColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBibtex, TDEGlobalSettings::textColor() );
- addItem( itemTextColorBibtex, TQString::fromLatin1( "textColorBibtex" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBibtex;
- itemHighlightedBaseColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBibtex, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBibtex, TQString::fromLatin1( "highlightedBaseColorBibtex" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBibtex;
- itemHighlightedTextColorBibtex = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBibtex, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBibtex, TQString::fromLatin1( "highlightedTextColorBibtex" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - comic" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateComicBook;
- itemTemplateComicBook = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateComicBook, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateComicBook, TQString::fromLatin1( "templateComicBook" ) );
- TDEConfigSkeleton::ItemFont *itemFontComicBook;
- itemFontComicBook = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontComicBook, TDEGlobalSettings::generalFont() );
- addItem( itemFontComicBook, TQString::fromLatin1( "fontComicBook" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorComicBook;
- itemBaseColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorComicBook, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorComicBook, TQString::fromLatin1( "baseColorComicBook" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorComicBook;
- itemTextColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorComicBook, TDEGlobalSettings::textColor() );
- addItem( itemTextColorComicBook, TQString::fromLatin1( "textColorComicBook" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorComicBook;
- itemHighlightedBaseColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorComicBook, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorComicBook, TQString::fromLatin1( "highlightedBaseColorComicBook" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorComicBook;
- itemHighlightedTextColorComicBook = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorComicBook, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorComicBook, TQString::fromLatin1( "highlightedTextColorComicBook" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - wine" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateWine;
- itemTemplateWine = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateWine, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateWine, TQString::fromLatin1( "templateWine" ) );
- TDEConfigSkeleton::ItemFont *itemFontWine;
- itemFontWine = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontWine, TDEGlobalSettings::generalFont() );
- addItem( itemFontWine, TQString::fromLatin1( "fontWine" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorWine;
- itemBaseColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorWine, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorWine, TQString::fromLatin1( "baseColorWine" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorWine;
- itemTextColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorWine, TDEGlobalSettings::textColor() );
- addItem( itemTextColorWine, TQString::fromLatin1( "textColorWine" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorWine;
- itemHighlightedBaseColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorWine, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorWine, TQString::fromLatin1( "highlightedBaseColorWine" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorWine;
- itemHighlightedTextColorWine = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorWine, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorWine, TQString::fromLatin1( "highlightedTextColorWine" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - coin" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateCoin;
- itemTemplateCoin = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCoin, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateCoin, TQString::fromLatin1( "templateCoin" ) );
- TDEConfigSkeleton::ItemFont *itemFontCoin;
- itemFontCoin = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCoin, TDEGlobalSettings::generalFont() );
- addItem( itemFontCoin, TQString::fromLatin1( "fontCoin" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorCoin;
- itemBaseColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCoin, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorCoin, TQString::fromLatin1( "baseColorCoin" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorCoin;
- itemTextColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCoin, TDEGlobalSettings::textColor() );
- addItem( itemTextColorCoin, TQString::fromLatin1( "textColorCoin" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorCoin;
- itemHighlightedBaseColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCoin, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorCoin, TQString::fromLatin1( "highlightedBaseColorCoin" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorCoin;
- itemHighlightedTextColorCoin = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCoin, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorCoin, TQString::fromLatin1( "highlightedTextColorCoin" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - stamp" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateStamp;
- itemTemplateStamp = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateStamp, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateStamp, TQString::fromLatin1( "templateStamp" ) );
- TDEConfigSkeleton::ItemFont *itemFontStamp;
- itemFontStamp = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontStamp, TDEGlobalSettings::generalFont() );
- addItem( itemFontStamp, TQString::fromLatin1( "fontStamp" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorStamp;
- itemBaseColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorStamp, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorStamp, TQString::fromLatin1( "baseColorStamp" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorStamp;
- itemTextColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorStamp, TDEGlobalSettings::textColor() );
- addItem( itemTextColorStamp, TQString::fromLatin1( "textColorStamp" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorStamp;
- itemHighlightedBaseColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorStamp, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorStamp, TQString::fromLatin1( "highlightedBaseColorStamp" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorStamp;
- itemHighlightedTextColorStamp = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorStamp, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorStamp, TQString::fromLatin1( "highlightedTextColorStamp" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - card" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateCard;
- itemTemplateCard = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateCard, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateCard, TQString::fromLatin1( "templateCard" ) );
- TDEConfigSkeleton::ItemFont *itemFontCard;
- itemFontCard = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontCard, TDEGlobalSettings::generalFont() );
- addItem( itemFontCard, TQString::fromLatin1( "fontCard" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorCard;
- itemBaseColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorCard, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorCard, TQString::fromLatin1( "baseColorCard" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorCard;
- itemTextColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorCard, TDEGlobalSettings::textColor() );
- addItem( itemTextColorCard, TQString::fromLatin1( "textColorCard" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorCard;
- itemHighlightedBaseColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorCard, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorCard, TQString::fromLatin1( "highlightedBaseColorCard" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorCard;
- itemHighlightedTextColorCard = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorCard, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorCard, TQString::fromLatin1( "highlightedTextColorCard" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - game" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateGame;
- itemTemplateGame = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateGame, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateGame, TQString::fromLatin1( "templateGame" ) );
- TDEConfigSkeleton::ItemFont *itemFontGame;
- itemFontGame = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontGame, TDEGlobalSettings::generalFont() );
- addItem( itemFontGame, TQString::fromLatin1( "fontGame" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorGame;
- itemBaseColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorGame, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorGame, TQString::fromLatin1( "baseColorGame" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorGame;
- itemTextColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorGame, TDEGlobalSettings::textColor() );
- addItem( itemTextColorGame, TQString::fromLatin1( "textColorGame" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorGame;
- itemHighlightedBaseColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorGame, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorGame, TQString::fromLatin1( "highlightedBaseColorGame" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorGame;
- itemHighlightedTextColorGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorGame, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorGame, TQString::fromLatin1( "highlightedTextColorGame" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - file" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateFile;
- itemTemplateFile = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateFile, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateFile, TQString::fromLatin1( "templateFile" ) );
- TDEConfigSkeleton::ItemFont *itemFontFile;
- itemFontFile = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontFile, TDEGlobalSettings::generalFont() );
- addItem( itemFontFile, TQString::fromLatin1( "fontFile" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorFile;
- itemBaseColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorFile, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorFile, TQString::fromLatin1( "baseColorFile" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorFile;
- itemTextColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorFile, TDEGlobalSettings::textColor() );
- addItem( itemTextColorFile, TQString::fromLatin1( "textColorFile" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorFile;
- itemHighlightedBaseColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorFile, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorFile, TQString::fromLatin1( "highlightedBaseColorFile" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorFile;
- itemHighlightedTextColorFile = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorFile, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorFile, TQString::fromLatin1( "highlightedTextColorFile" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - boardgame" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateBoardGame;
- itemTemplateBoardGame = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBoardGame, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateBoardGame, TQString::fromLatin1( "templateBoardGame" ) );
- TDEConfigSkeleton::ItemFont *itemFontBoardGame;
- itemFontBoardGame = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBoardGame, TDEGlobalSettings::generalFont() );
- addItem( itemFontBoardGame, TQString::fromLatin1( "fontBoardGame" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorBoardGame;
- itemBaseColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBoardGame, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorBoardGame, TQString::fromLatin1( "baseColorBoardGame" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorBoardGame;
- itemTextColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBoardGame, TDEGlobalSettings::textColor() );
- addItem( itemTextColorBoardGame, TQString::fromLatin1( "textColorBoardGame" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBoardGame;
- itemHighlightedBaseColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBoardGame, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBoardGame, TQString::fromLatin1( "highlightedBaseColorBoardGame" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBoardGame;
- itemHighlightedTextColorBoardGame = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBoardGame, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBoardGame, TQString::fromLatin1( "highlightedTextColorBoardGame" ) );
-
- setCurrentGroup( TQString::fromLatin1( "Options - entry" ) );
-
- TDEConfigSkeleton::ItemString *itemTemplateBase;
- itemTemplateBase = new TDEConfigSkeleton::ItemString( currentGroup(), TQString::fromLatin1( "Entry Template" ), mTemplateBase, TQString::fromLatin1( "Fancy" ) );
- addItem( itemTemplateBase, TQString::fromLatin1( "templateBase" ) );
- TDEConfigSkeleton::ItemFont *itemFontBase;
- itemFontBase = new TDEConfigSkeleton::ItemFont( currentGroup(), TQString::fromLatin1( "Template Font" ), mFontBase, TDEGlobalSettings::generalFont() );
- addItem( itemFontBase, TQString::fromLatin1( "fontBase" ) );
- TDEConfigSkeleton::ItemColor *itemBaseColorBase;
- itemBaseColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Base Color" ), mBaseColorBase, TDEGlobalSettings::baseColor() );
- addItem( itemBaseColorBase, TQString::fromLatin1( "baseColorBase" ) );
- TDEConfigSkeleton::ItemColor *itemTextColorBase;
- itemTextColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Text Color" ), mTextColorBase, TDEGlobalSettings::textColor() );
- addItem( itemTextColorBase, TQString::fromLatin1( "textColorBase" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedBaseColorBase;
- itemHighlightedBaseColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlight Color" ), mHighlightedBaseColorBase, TDEGlobalSettings::highlightColor() );
- addItem( itemHighlightedBaseColorBase, TQString::fromLatin1( "highlightedBaseColorBase" ) );
- TDEConfigSkeleton::ItemColor *itemHighlightedTextColorBase;
- itemHighlightedTextColorBase = new TDEConfigSkeleton::ItemColor( currentGroup(), TQString::fromLatin1( "Template Highlighted Text Color" ), mHighlightedTextColorBase, TDEGlobalSettings::highlightedTextColor() );
- addItem( itemHighlightedTextColorBase, TQString::fromLatin1( "highlightedTextColorBase" ) );
-}
-
-Config::~Config()
-{
- if ( mSelf == this )
- staticConfigDeleter.setObject( mSelf, 0, false );
-}
-
diff --git a/src/translators/pilotdbexporter.cpp b/src/translators/pilotdbexporter.cpp
index 5485edf..d2d330a 100644
--- a/src/translators/pilotdbexporter.cpp
+++ b/src/translators/pilotdbexporter.cpp
@@ -193,7 +193,7 @@ bool PilotDBExporter::exec() {
db.appendRecord(record);
}
- PilotDB pdb;
+ class PilotDB pdb;
db.outputPDB(pdb);
return FileHandler::writeDataURL(url(), pdb.data(), options() & Export::ExportForce);