~ubuntu-branches/ubuntu/karmic/kdepim/karmic

« back to all changes in this revision

Viewing changes to ktimetracker/mainwindow.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-10-03 22:27:55 UTC
  • mfrom: (1.1.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20091003222755-nm1u1hm80385m8h3
Tags: 4:4.3.2-0ubuntu1
* New upstream release
  - Bump build-deps
  - Remove kubuntu_02_dimap_folder_rename_fix.diff fixed by upstream
  - Remove ktimeticker obsolete package from kontact suggests
  - Remove several oxygen icons which also are in kde-icons-oxygen,
    add in not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
  {
63
63
    // now that the Part is loaded, we cast it to a Part to get
64
64
    // our hands on it
65
 
    m_part = static_cast<KParts::ReadWritePart *>
 
65
    m_part = static_cast<ktimetrackerpart *>
66
66
       (factory->create(this, "ktimetrackerpart" ));
67
67
 
68
68
    if (m_part)
73
73
      ((TimetrackerWidget) (m_part->widget())).openFile(icsfile);
74
74
      connect(configureAction, SIGNAL(triggered(bool)),
75
75
        m_part->widget(), SLOT(showSettingsDialog()));
76
 
      ((TimetrackerWidget *) (m_part->widget()))->setupActions( actionCollection() );
 
76
      m_part->openFile(icsfile);
77
77
      setupGUI();
78
78
    }
79
79
  }