~ubuntu-branches/ubuntu/karmic/rkward/karmic

« back to all changes in this revision

Viewing changes to rkward/khelpdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2006-11-06 16:30:00 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 feisty)
  • Revision ID: james.westby@ubuntu.com-20061106163000-qi8ju75eqecrfay7
* new upstream release
* depend on either php4-cli or php5-cli

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
                          khelpdlg  -  description
3
3
                             -------------------
4
4
    begin                : Fri Feb 25 2005
5
 
    copyright            : (C) 2005 by Thomas Friedrichsmeier
 
5
    copyright            : (C) 2005, 2006 by Thomas Friedrichsmeier
6
6
    email                : tfry@users.sourceforge.net
7
7
 ***************************************************************************/
8
8
 
36
36
 
37
37
@author Pierre Ecochard */
38
38
class KHelpDlg : public QWidget, public RCommandReceiver {
39
 
  Q_OBJECT
 
39
        Q_OBJECT
40
40
public:
41
 
    KHelpDlg (QWidget* parent = 0, const char* name = 0);
42
 
    ~KHelpDlg ();
43
 
    void rCommandDone (RCommand *command);
 
41
        KHelpDlg (QWidget* parent = 0, const char* name = 0);
 
42
        ~KHelpDlg ();
 
43
        void rCommandDone (RCommand *command);
44
44
 
45
45
/** small convenience function to get context help for RKCommandEditorWindow and RKConsole.
46
46
@param context_line The current line
47
47
@param cursor_pos cursor position in the current line
48
48
Will figure out the word under the cursor, and provide help on that (if there is such a word, and such help exists) */
49
49
        void getContextHelp (const QString &context_line, int cursor_pos);
50
 
 
 
50
        void getFunctionHelp (const QString &function_name);
51
51
public slots:
52
52
        void slotFindButtonClicked();
53
53
        void slotResultsListDblClicked( QListViewItem *item, const QPoint &, int );
54
54
private:
55
 
    QComboBox* field;
56
 
    QComboBox* fieldsList;
57
 
    QComboBox* packagesList;
58
 
    QCheckBox* caseSensitiveCheckBox;
59
 
    QCheckBox* fuzzyCheckBox;
60
 
    QPushButton* findButton;
61
 
    QListView* resultsList;
62
 
 
63
 
    RCommandChain *chain;
 
55
        QComboBox* field;
 
56
        QComboBox* fieldsList;
 
57
        QComboBox* packagesList;
 
58
        QCheckBox* caseSensitiveCheckBox;
 
59
        QCheckBox* fuzzyCheckBox;
 
60
        QPushButton* findButton;
 
61
        QListView* resultsList;
64
62
};
65
63
 
66
64
#endif