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

#ifndef UI_TRANSACTIONSORTOPTION_H
#define UI_TRANSACTIONSORTOPTION_H

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

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TDEListView;
class KPushButton;
class TQListViewItem;

class TransactionSortOption : public TQWidget
{
    TQ_OBJECT

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

    TDEListView* m_availableList;
    KPushButton* m_addButton;
    KPushButton* m_removeButton;
    TDEListView* m_selectedList;
    KPushButton* m_upButton;
    KPushButton* m_downButton;

    void init();
    TQString settings( void ) const;

public slots:
    virtual void setSettings( const TQString & settings );
    virtual void toggleDirection( TQListViewItem * item );

signals:
    void settingsChanged(const TQString&);

protected:
    TQListViewItem * addEntry( TDEListView * p, TQListViewItem * after, int idx );

    TQHBoxLayout* TransactionSortOptionLayout;
    TQVBoxLayout* layout3;
    TQVBoxLayout* layout5;
    TQSpacerItem* spacer3;
    TQSpacerItem* spacer4;
    TQVBoxLayout* layout4;
    TQVBoxLayout* layout6;
    TQSpacerItem* spacer5;
    TQSpacerItem* spacer6;

protected slots:
    virtual void languageChange();

    void slotAvailableSelected( TQListViewItem * item );
    void slotSelectedSelected( TQListViewItem * item );
    void slotAddItem( void );
    void slotRemoveItem( void );
    void slotUpItem( void );
    void slotDownItem( void );


};

#endif // TRANSACTIONSORTOPTION_H
