|
|
@ -23,12 +23,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include "environmentdisplaydialog.h"
|
|
|
|
#include "environmentdisplaydialog.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
|
|
|
extern char **environ;
|
|
|
|
extern char **environ;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
EnvironmentDisplayDialog::EnvironmentDisplayDialog(TQWidget* parent, const char* name, bool modal, WFlags fl)
|
|
|
|
EnvironmentDisplayDialog::EnvironmentDisplayDialog(TQWidget* parent, const char* name, bool modal, WFlags fl)
|
|
|
|
: EnvironmentDisplayDialogBase(parent,name, modal,fl)
|
|
|
|
: EnvironmentDisplayDialogBase(parent,name, modal,fl)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQStringList environment;
|
|
|
|
TQStringList environment;
|
|
|
|
|
|
|
|
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
|
|
|
char ** e = ::environ;
|
|
|
|
char ** e = ::environ;
|
|
|
|
|
|
|
|
|
|
|
|
while ( *e )
|
|
|
|
while ( *e )
|
|
|
@ -36,6 +39,7 @@ EnvironmentDisplayDialog::EnvironmentDisplayDialog(TQWidget* parent, const char*
|
|
|
|
environment << *e;
|
|
|
|
environment << *e;
|
|
|
|
e++;
|
|
|
|
e++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
TQStringList::ConstIterator it = environment.begin();
|
|
|
|
TQStringList::ConstIterator it = environment.begin();
|
|
|
|
while( it !=environment.end() )
|
|
|
|
while( it !=environment.end() )
|
|
|
|