blob: c6d40ac48c2250bbaf5dfe342f1b1dd18c203b93 (
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
|
#ifndef HELPDEMO_H
#define HELPDEMO_H
#include <ntqptrdict.h>
#include "helpdemobase.h"
class TQAssistantClient;
class TQPopupMenu;
class HelpDemo : public HelpDemoBase
{
TQ_OBJECT
public:
HelpDemo( TQWidget *parent = 0, const char *name = 0 );
~HelpDemo();
protected:
void contextMenuEvent( TQContextMenuEvent *e );
private slots:
void setAssistantArguments();
void openAssistant();
void closeAssistant();
void displayPage();
void showAssistantErrors( const TQString &err );
void assistantOpened();
void assistantClosed();
void showHelp();
private:
TQWidget* lookForWidget();
void showHelp( TQWidget *w );
TQPtrDict<char> widgets;
TQAssistantClient *assistant;
TQPopupMenu *menu;
};
#endif
|