~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to kjots/kjotspart.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "kjotspart.h"
26
26
 
27
27
#include "kjotspart.moc"
28
 
#include "kjotscomponent.h"
29
28
#include "aboutdata.h"
30
29
 
31
30
#include <kdebug.h>
45
44
#include <QTimer>
46
45
#include <QtGui/QTextEdit>
47
46
#include <QtGui/QLabel>
 
47
#include "kjotswidget.h"
48
48
 
49
49
const KAboutData &createAboutData()
50
50
{
62
62
    setComponentData( KJotsPartFactory::componentData() );
63
63
 
64
64
    // this should be your custom internal widget
65
 
    component = new KJotsComponent(parentWidget, actionCollection());
 
65
    component = new KJotsWidget(parentWidget, this);
66
66
 
67
67
    mStatusBar = new KParts::StatusBarExtension(this);
68
68
    // notify the part that this is our internal widget
76
76
 
77
77
KJotsPart::~KJotsPart()
78
78
{
79
 
        component->queryClose();
 
79
//      component->queryClose();
80
80
}
81
81
 
82
82
bool KJotsPart::openFile()