summaryrefslogtreecommitdiffstats
path: root/parts/uimode/uichooser_widget.h
blob: 4901f1af6abac5c8b1ef9d071c3d1a9f51adc6bd (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 *tqparent=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