summaryrefslogtreecommitdiffstats
path: root/parts/uimode/uichooser_widget.h
blob: 67b45142a03f8cb2020cf9d0563a7caebdb17b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef __UICHOOSER_WIDGET_H__
#define __UICHOOSER_WIDGET_H__


#include <tqwidget.h>


#include "uichooser.h"

class UIChooserPart;

class UIChooserWidget : public UIChooser
{
  Q_OBJECT
  TQ_OBJECT

public:

  enum TabWidgetVisibility {
    _AlwaysShowTabs         = 0,
    _NeverShowTabs          = 2
  };

  UIChooserWidget( UIChooserPart * part, TQWidget *parent=0, const char *name=0 );

public slots:
  void accept();

protected slots:
  void maybeEnableCloseOnHover( bool );

private slots:

  void load();
  void save();

private:
  UIChooserPart* m_part;
  TQWidget * _lastMode;
};


#endif