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

#ifndef UI_KSORTOPTIONDLG_H
#define UI_KSORTOPTIONDLG_H

#include <ntqvariant.h>
#include <ntqdialog.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQCheckBox;
class TransactionSortOption;
class KPushButton;

class KSortOptionDlg : public TQDialog
{
    TQ_OBJECT

public:
    KSortOptionDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~KSortOptionDlg();

    TQCheckBox* m_useDefault;
    TransactionSortOption* m_sortOption;
    KPushButton* m_helpButton;
    KPushButton* m_okButton;
    KPushButton* m_cancelButton;

    virtual TQString sortOption( void ) const;
    virtual void hideDefaultButton( void );

public slots:
    virtual void setSortOption( const TQString & option, const TQString & def );

protected:
    TQVBoxLayout* KSortOptionDlgLayout;
    TQHBoxLayout* layout5;
    TQSpacerItem* Horizontal_Spacing2;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // KSORTOPTIONDLG_H
