~ubuntu-branches/ubuntu/quantal/ksniffer/quantal

« back to all changes in this revision

Viewing changes to ksniffer/options/ksnifferoptiondialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-03-28 16:08:20 UTC
  • mfrom: (1.1.5 upstream) (11.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080328160820-js0e2fuodvt9yme9
Tags: 0.3.2-1ubuntu1
* Sync with debian.
* Added kubuntu_01_kdesudo.diff. Ksniffer now works when started
  inside a kprocess, and therefore works with kdesudo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2004-2007 by Giovanni Venturi                           *
 
2
 *   Copyright (C) 2004-2008 by Giovanni Venturi                           *
3
3
 *   giovanni@ksniffer.org                                                 *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
22
22
#define KSNIFFER_OPTION_DIALOG_H
23
23
 
24
24
#include "snifferoptiontab.h"
 
25
#include "guioptiontab.h"
25
26
 
26
27
class KSnifferOptionDialog : public KDialogBase
27
28
{
28
29
  Q_OBJECT
29
30
 
30
 
public:
31
 
  KSnifferOptionDialog( QWidget *parent, const char *name, bool modal );
32
 
  ~KSnifferOptionDialog();
33
 
 
34
 
signals:
35
 
  void trayBarShown( bool );
36
 
 
37
 
protected slots:
38
 
  void slotOk();
39
 
  void slotApply();
40
 
 
41
 
private:
42
 
  bool saveSettings();
43
 
 
44
 
  SnifferOptionTab *m_snifferOptionTab;
45
 
  void setupSnifferPage();
 
31
  public:
 
32
    KSnifferOptionDialog( QWidget *parent, const char *name, bool modal );
 
33
    ~KSnifferOptionDialog();
 
34
 
 
35
  signals:
 
36
    void trayBarShown( bool );
 
37
    void changedRawFormPosition( bool );
 
38
 
 
39
  protected slots:
 
40
    void slotOk();
 
41
    void slotApply();
 
42
 
 
43
  private:
 
44
    bool saveSettings();
 
45
 
 
46
    SnifferOptionTab *m_snifferOptionTab;
 
47
    GuiOptionTab *m_guiOptionTab;
46
48
};
47
49
 
48
50
#endif // KSNIFFER_OPTION_DIALOG_H