|
|
@ -109,37 +109,37 @@ TDEInstance* KisFactory::instance()
|
|
|
|
s_instance = new TDEInstance(s_aboutData);
|
|
|
|
s_instance = new TDEInstance(s_aboutData);
|
|
|
|
TQ_CHECK_PTR(s_instance);
|
|
|
|
TQ_CHECK_PTR(s_instance);
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("chalk_template", KStandardDirs::kde_default("data") + "chalk/templates");
|
|
|
|
s_instance->dirs()->addResourceType("chalk_template", TDEStandardDirs::kde_default("data") + "chalk/templates");
|
|
|
|
|
|
|
|
|
|
|
|
// XXX: Are these obsolete?
|
|
|
|
// XXX: Are these obsolete?
|
|
|
|
s_instance->dirs()->addResourceType("kis", KStandardDirs::kde_default("data") + "chalk/");
|
|
|
|
s_instance->dirs()->addResourceType("kis", TDEStandardDirs::kde_default("data") + "chalk/");
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_pics", KStandardDirs::kde_default("data") + "chalk/pics/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_pics", TDEStandardDirs::kde_default("data") + "chalk/pics/");
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_images", KStandardDirs::kde_default("data") + "chalk/images/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_images", TDEStandardDirs::kde_default("data") + "chalk/images/");
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("toolbars", KStandardDirs::kde_default("data") + "koffice/toolbar/");
|
|
|
|
s_instance->dirs()->addResourceType("toolbars", TDEStandardDirs::kde_default("data") + "koffice/toolbar/");
|
|
|
|
|
|
|
|
|
|
|
|
// Create spec
|
|
|
|
// Create spec
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_brushes", KStandardDirs::kde_default("data") + "chalk/brushes/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_brushes", TDEStandardDirs::kde_default("data") + "chalk/brushes/");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_brushes", "/usr/share/create/brushes/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_brushes", "/usr/share/create/brushes/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_brushes", TQDir::homeDirPath() + TQString("/.create/brushes/gimp"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_brushes", TQDir::homeDirPath() + TQString("/.create/brushes/gimp"));
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_patterns", KStandardDirs::kde_default("data") + "chalk/patterns/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_patterns", TDEStandardDirs::kde_default("data") + "chalk/patterns/");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_patterns", "/usr/share/create/patterns/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_patterns", "/usr/share/create/patterns/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_patterns", TQDir::homeDirPath() + TQString("/.create/patterns/gimp"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_patterns", TQDir::homeDirPath() + TQString("/.create/patterns/gimp"));
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_gradients", KStandardDirs::kde_default("data") + "chalk/gradients/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_gradients", TDEStandardDirs::kde_default("data") + "chalk/gradients/");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_gradients", "/usr/share/create/gradients/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_gradients", "/usr/share/create/gradients/gimp");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_gradients", TQDir::homeDirPath() + TQString("/.create/gradients/gimp"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_gradients", TQDir::homeDirPath() + TQString("/.create/gradients/gimp"));
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_profiles", KStandardDirs::kde_default("data") + "chalk/profiles/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_profiles", TDEStandardDirs::kde_default("data") + "chalk/profiles/");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", "/usr/share/color/icc");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", "/usr/share/color/icc");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", TQDir::homeDirPath() + TQString("/.icc"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", TQDir::homeDirPath() + TQString("/.icc"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", TQDir::homeDirPath() + TQString("/.color/icc"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_profiles", TQDir::homeDirPath() + TQString("/.color/icc"));
|
|
|
|
|
|
|
|
|
|
|
|
s_instance->dirs()->addResourceType("kis_palettes", KStandardDirs::kde_default("data") + "chalk/palettes/");
|
|
|
|
s_instance->dirs()->addResourceType("kis_palettes", TDEStandardDirs::kde_default("data") + "chalk/palettes/");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_palettes", "/usr/share/create/swatches");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_palettes", "/usr/share/create/swatches");
|
|
|
|
s_instance->dirs()->addResourceDir("kis_palettes", TQDir::homeDirPath() + TQString("/.create/swatches"));
|
|
|
|
s_instance->dirs()->addResourceDir("kis_palettes", TQDir::homeDirPath() + TQString("/.create/swatches"));
|
|
|
|
|
|
|
|
|
|
|
|