KDevelop API Documentation

KNotesPart Class Reference

Integrates knotes in KDevelop. More...

#include <knotes_part.h>

Inheritance diagram for KNotesPart:

Inheritance graph
[legend]
Collaboration diagram for KNotesPart:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotNewNote ()

Public Member Functions

 KNotesPart (QObject *parent=0, const char *name=0)
bool openFile ()

Protected Slots

void slotNoteRenamed (QIconViewItem *item, const QString &text)
void slotPopupRMB (QIconViewItem *item, const QPoint &pos)
void slotRemoveCurrentNote ()
void slotRenameCurrentNote ()
void slotOpenNote (QIconViewItem *item)

Protected Member Functions

void initKNotes ()
NotesMap fetchNotes ()

Private Attributes

KIconViewm_iconView
QPopupMenum_popupMenu

Detailed Description

Integrates knotes in KDevelop.

Author(s):
Daniel Molkentin

Unmaintained:
This part is un-maintained and therefore it's compilation is disabled

Feature(s):
Integrates knotes in KDevelop

Definition at line 33 of file knotes_part.h.


Constructor & Destructor Documentation

KNotesPart::KNotesPart QObject parent = 0,
const char *  name = 0
 

Definition at line 53 of file knotes_part.cpp.

References initKNotes(), m_iconView, m_popupMenu, KParts::Part::setWidget(), slotNoteRenamed(), slotOpenNote(), slotPopupRMB(), slotRemoveCurrentNote(), and slotRenameCurrentNote().


Member Function Documentation

NotesMap KNotesPart::fetchNotes  )  [protected]
 

Definition at line 108 of file knotes_part.cpp.

References kdDebug(), and NotesMap.

Referenced by initKNotes().

void KNotesPart::initKNotes  )  [protected]
 

Definition at line 77 of file knotes_part.cpp.

References KMessageBox::error(), fetchNotes(), m_iconView, NotesMap, and KApplication::startServiceByDesktopName().

Referenced by KNotesPart(), slotNewNote(), slotNoteRenamed(), and slotRemoveCurrentNote().

bool KNotesPart::openFile  )  [virtual]
 

Implements KParts::ReadOnlyPart.

Definition at line 103 of file knotes_part.cpp.

void KNotesPart::slotNewNote  )  [slot]
 

Definition at line 194 of file knotes_part.cpp.

References KMessageBox::error(), initKNotes(), and kdDebug().

Referenced by KNotesPlugin::slotNewNote().

void KNotesPart::slotNoteRenamed QIconViewItem item,
const QString text
[protected, slot]
 

Definition at line 162 of file knotes_part.cpp.

References initKNotes(), kdDebug(), and m_iconView.

Referenced by KNotesPart().

void KNotesPart::slotOpenNote QIconViewItem item  )  [protected, slot]
 

Definition at line 183 of file knotes_part.cpp.

References kdDebug().

Referenced by KNotesPart().

void KNotesPart::slotPopupRMB QIconViewItem item,
const QPoint pos
[protected, slot]
 

Definition at line 126 of file knotes_part.cpp.

References m_popupMenu.

Referenced by KNotesPart().

void KNotesPart::slotRemoveCurrentNote  )  [protected, slot]
 

Definition at line 134 of file knotes_part.cpp.

References initKNotes(), kdDebug(), and m_iconView.

Referenced by KNotesPart().

void KNotesPart::slotRenameCurrentNote  )  [protected, slot]
 

Definition at line 154 of file knotes_part.cpp.

References m_iconView.

Referenced by KNotesPart().


Member Data Documentation

KIconView* KNotesPart::m_iconView [private]
 

Definition at line 61 of file knotes_part.h.

Referenced by initKNotes(), KNotesPart(), slotNoteRenamed(), slotRemoveCurrentNote(), and slotRenameCurrentNote().

QPopupMenu* KNotesPart::m_popupMenu [private]
 

Definition at line 62 of file knotes_part.h.

Referenced by KNotesPart(), and slotPopupRMB().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:44:37 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003