/****************************************************************************
** Form interface generated from reading ui file 'uidialogtemp.ui'
**
** Created: Sat Mar 5 22:05:18 2005
**      by: The User Interface Compiler ($Id: dialogtemp.h,v 1.42 2006/09/09 18:28:57 qdvdauthor Exp $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef DIALOGTEMP_H
#define DIALOGTEMP_H

#include <qvariant.h>
#include <qdialog.h>
#include <qvaluelist.h>
#include <qstringlist.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QTabWidget;
class QWidget;
class QPushButton;
class QLabel;

class uiTempTab;

class DialogTemp : public QDialog
{
	Q_OBJECT
public:
	 DialogTemp( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
	~DialogTemp();

private:
	void          updateLabels     ( );
	QString       formatSize       ( unsigned long );
	QStringList   getDirectoryTree ( QString );
	unsigned long getDirectorySize ( QString );

protected slots:
	virtual void languageChange ();
	virtual void slotDelete     ();

protected:
	unsigned long             m_iTotalSize;
	QValueList<unsigned long> m_listSizes;
	QTabWidget           *    m_pTabWidget;
	QValueList<uiTempTab *>   m_listTabs;

	QPushButton          *    buttonHelp;
	QPushButton          *    buttonOk;
	QPushButton          *    buttonCancel;
	QLabel               *    m_pLabelGeneral;
	QGridLayout          *    DialogTempLayout;
	QSpacerItem          *    Horizontal_Spacing2;
	QSpacerItem          *    Horizontal_Spacing2_2;
};

#endif // DIALOGTEMP_H
