@ -21,7 +21,7 @@
# include <kurl.h>
# include <tdeglobal.h>
# include <tdestandarddirs.h>
# include < k simpleconfig.h>
# include < tde simpleconfig.h>
# include <tqpainter.h>
# include <tqdir.h>
# include <tqimage.h>
@ -120,7 +120,7 @@ bool BackgroundManager::subscribe(const TQString &image)
// Try to load the pixmap:
entry - > pixmap = new TQPixmap ( entry - > location ) ;
// Try to figure out if it's a tiled background image or not (default to NO):
K SimpleConfig config ( entry - > location + " .config " , /*readOnly=*/ true ) ;
TDE SimpleConfig config ( entry - > location + " .config " , /*readOnly=*/ true ) ;
config . setGroup ( " BasKet Background Image Configuration " ) ;
entry - > tiled = config . readBoolEntry ( " tiled " , false ) ;
}
@ -287,7 +287,7 @@ TQPixmap* BackgroundManager::preview(const TQString &image)
// Because, as we are loading the pixmap we ALSO need to know if it's a tile or not, in case that image will soon be used (and not destroyed by the garbager):
entry - > pixmap = new TQPixmap ( entry - > location ) ;
// Try to figure out if it's a tiled background image or not (default to NO):
K SimpleConfig config ( entry - > location + " .config " , /*readOnly=*/ true ) ;
TDE SimpleConfig config ( entry - > location + " .config " , /*readOnly=*/ true ) ;
config . setGroup ( " BasKet Background Image Configuration " ) ;
entry - > tiled = config . readBoolEntry ( " tiled " , false ) ;
}