/****************************************************************************
** Form interface generated from reading ui file 'organizecollectiondialog.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_ORGANIZECOLLECTIONDIALOG_H
#define UI_ORGANIZECOLLECTIONDIALOG_H

#include <ntqvariant.h>
#include <ntqwidget.h>
#include <metabundle.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQLabel;
class KComboBox;
class TQCheckBox;
class TQGroupBox;
class KLineEdit;
class KActiveLabel;

class OrganizeCollectionDialog : public TQWidget
{
    TQ_OBJECT

public:
    OrganizeCollectionDialog( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~OrganizeCollectionDialog();

    TQLabel* folderLabel;
    KComboBox* folderCombo;
    TQCheckBox* coverCheck;
    TQCheckBox* ignoreTheCheck;
    TQGroupBox* groupingGroup;
    TQCheckBox* customschemeCheck;
    TQCheckBox* filetypeCheck;
    TQCheckBox* initialCheck;
    TQLabel* formatLabel;
    KLineEdit* formatEdit;
    KActiveLabel* formatHelp;
    TQGroupBox* replacementGroup;
    TQCheckBox* spaceCheck;
    TQCheckBox* asciiCheck;
    TQCheckBox* vfatCheck;
    TQLabel* textLabel1;
    KLineEdit* regexpEdit;
    TQLabel* textLabel2;
    KLineEdit* replaceEdit;
    TQGroupBox* previewBox;
    TQLabel* previewText;
    TQCheckBox* overwriteCheck;

    virtual TQString buildDestination( const TQString & format, const MetaBundle & mb );
    virtual TQString buildFormatTip();
    virtual TQString buildFormatString();
    virtual void setPreviewBundle( const MetaBundle & bundle );
    virtual TQString cleanPath( const TQString & component );
    virtual void init();

public slots:
    virtual void preview( const TQString & format );
    virtual void update( int dummy );
    virtual void update( const TQString & dummy );
    virtual void slotDetails();

signals:
    void updatePreview( const TQString & );

protected:
    MetaBundle previewBundle;
    bool detailed;

    TQVBoxLayout* organizeCollectionDialogLayout;
    TQSpacerItem* spacer2_5;
    TQSpacerItem* spacer2_4;
    TQSpacerItem* spacer2;
    TQSpacerItem* spacer2_3;
    TQHBoxLayout* folderLayout;
    TQVBoxLayout* layout5;
    TQVBoxLayout* groupingGroupLayout;
    TQHBoxLayout* customFormatLayout;
    TQVBoxLayout* replacementGroupLayout;
    TQHBoxLayout* layout4;
    TQGridLayout* previewBoxLayout;
    TQHBoxLayout* layout7;
    TQSpacerItem* spacer2_2;

protected slots:
    virtual void languageChange();

};

#endif // ORGANIZECOLLECTIONDIALOG_H
