|
|
@ -27,14 +27,14 @@ int main(int argc, char* argv[])
|
|
|
|
I18N_NOOP("Filesystem Viewer"),
|
|
|
|
I18N_NOOP("Filesystem Viewer"),
|
|
|
|
KAboutData::License_GPL,
|
|
|
|
KAboutData::License_GPL,
|
|
|
|
I18N_NOOP("(c) 2002, Josef Weidendorfer"));
|
|
|
|
I18N_NOOP("(c) 2002, Josef Weidendorfer"));
|
|
|
|
KCmdLineArgs::init(argc, argv, &aboutData);
|
|
|
|
TDECmdLineArgs::init(argc, argv, &aboutData);
|
|
|
|
KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
KApplication a;
|
|
|
|
KApplication a;
|
|
|
|
|
|
|
|
|
|
|
|
KConfigGroup gconfig(KGlobal::config(), TQCString("General"));
|
|
|
|
KConfigGroup gconfig(KGlobal::config(), TQCString("General"));
|
|
|
|
TQString path = gconfig.readPathEntry("Path", ".");
|
|
|
|
TQString path = gconfig.readPathEntry("Path", ".");
|
|
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
if (args->count()>0) path = args->arg(0);
|
|
|
|
if (args->count()>0) path = args->arg(0);
|
|
|
|
|
|
|
|
|
|
|
|
// TreeMap Widget as toplevel window
|
|
|
|
// TreeMap Widget as toplevel window
|
|
|
|