~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/windows/rcontrolwindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-05-11 21:58:23 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090511215823-m2f3gehcvapwrzgp
Tags: 0.5.0d-0ubuntu1
* New upstream release (LP: #375213)
* Bump Standards-Version to 3.8.1
* Drop cmake, libphon-dev from build-deps
* Update maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
                          rcontrolwindow  -  description
3
3
                             -------------------
4
4
    begin                : Wed Oct 12 2005
5
 
    copyright            : (C) 2005, 2007 by Thomas Friedrichsmeier
 
5
    copyright            : (C) 2005, 2007, 2009 by Thomas Friedrichsmeier
6
6
    email                : tfry@users.sourceforge.net
7
7
 ***************************************************************************/
8
8
 
26
26
#include <kmessagebox.h>
27
27
 
28
28
#include "../settings/rksettings.h"
 
29
#include "../misc/rkdummypart.h"
29
30
#include "../rbackend/rinterface.h"
30
31
#include "../rbackend/rcommand.h"
31
32
#include "../rbackend/rcommandstack.h"
38
39
 
39
40
RControlWindow::RControlWindow (QWidget *parent, bool tool_window, const char *name) : RKMDIWindow (parent, PendingJobsWindow, tool_window, name) {
40
41
        RK_TRACE (APP);
41
 
        setPart (new RControlWindowPart (this));
 
42
        setPart (new RKDummyPart (0, this));
42
43
        initializeActivationSignals ();
43
44
        setFocusPolicy (Qt::ClickFocus);
44
45
 
153
154
        RKSettings::configureSettings (RKSettings::PageR, this);
154
155
}
155
156
 
156
 
//############# END RContolWindow #######################
157
 
//############# BEGIN RContolWindowPart ###################
158
 
 
159
 
RControlWindowPart::RControlWindowPart (RControlWindow *widget) : KParts::Part () {
160
 
        RK_TRACE (APP);
161
 
 
162
 
        setComponentData (KGlobal::mainComponent ());
163
 
 
164
 
        setWidget (widget);
165
 
}
166
 
 
167
 
RControlWindowPart::~RControlWindowPart () {
168
 
        RK_TRACE (APP);
169
 
}
170
 
 
171
157
#include "rcontrolwindow.moc"