~ubuntu-branches/ubuntu/vivid/kvpnc/vivid-proposed

« back to all changes in this revision

Viewing changes to src/profilegeneraloptions.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-04-23 09:18:50 UTC
  • mfrom: (1.1.10 upstream) (8.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090423091850-hweeg0jo64t0jx52
Tags: 0.9.1-1
* New upstream release (KDE4 is here)
* Add Build-Depends cmake and pkg-kde-tools
* Remove obsolete debian/patches
* Refresh debian/patches:
  - 10_su-to-root_usage.diff
  - 13_add_kuser_issuperuser.diff
* Cleanup debian/rules - simple under KDE4
* Update debian/watch for KDE4 version
* Update debian/copyright - use versionned licenses
* Update Section field - move to utils
* Remove obsolete dependencies: kdebase-bin, gksu, sux and modutils
* Update debian/kvpnc.{manpages,1}

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 ***************************************************************************/
20
20
#include "profilegeneraloptions.h"
21
21
#include <klocale.h>
22
 
#include <qcheckbox.h>
23
 
#include <qspinbox.h>
 
22
#include <QtGui/qcheckbox.h>
 
23
#include <QtGui/qspinbox.h>
24
24
#include <klineedit.h>
25
25
#include <kcombobox.h>
26
26
#include <knuminput.h>
 
27
#include "widgetnotifyhelper.h"
 
28
#include <iostream>
27
29
 
28
 
ProfileGeneralOptions::ProfileGeneralOptions(QWidget *parent, KVpncConfig *GlobalConfig)
29
 
                : ProfileGeneralOptionsBase(parent)
 
30
ProfileGeneralOptions::ProfileGeneralOptions(QWidget *parent, KVpncConfig *GlobalConfig) : QWidget(parent)
30
31
{
 
32
        setupUi(this);
31
33
        this->GlobalConfig = GlobalConfig;
 
34
        WidgetNotifyHelper h;
 
35
        h.setupChangedAction(this);
 
36
        dialogModified=false;
32
37
}
33
38
 
34
39
 
35
40
ProfileGeneralOptions::~ProfileGeneralOptions()
36
41
{}
37
42
 
 
43
void ProfileGeneralOptions::dialogChanged()
 
44
{
 
45
//      std::cout << "ProfileGeneralOptions::dialogChanged()" << std::endl;
 
46
        dialogModified=true;
 
47
}
 
48
 
 
49
 
38
50
 
39
51
 
40
52