knotes
KNotesApp Class Reference
Inheritance diagram for KNotesApp:

Detailed Description
Definition at line 55 of file knotesapp.h.
Public Slots | |
| QString | newNote (const QString &name=QString::null, const QString &text=QString::null) |
| QString | newNoteFromClipboard (const QString &name=QString::null) |
| void | hideAllNotes () const |
| void | showAllNotes () const |
Public Member Functions | |
| KNotesApp () | |
| ~KNotesApp () | |
| void | showNote (const QString &id) const |
| void | hideNote (const QString &id) const |
| void | killNote (const QString &id) |
| void | killNote (const QString &id, bool force) |
| QString | name (const QString &id) const |
| QString | text (const QString &id) const |
| void | setName (const QString &id, const QString &newName) |
| void | setText (const QString &id, const QString &newText) |
| QString | fgColor (const QString &id) const |
| QString | bgColor (const QString &id) const |
| void | setColor (const QString &id, const QString &fgColor, const QString &bgColor) |
| QMap< QString, QString > | notes () const |
| int | width (const QString ¬eId) const |
| int | height (const QString ¬eId) const |
| void | move (const QString ¬eId, int x, int y) const |
| void | resize (const QString ¬eId, int width, int height) const |
| void | sync (const QString &app) |
| bool | isNew (const QString &app, const QString &id) const |
| bool | isModified (const QString &app, const QString &id) const |
| bool | commitData (QSessionManager &) |
Protected Slots | |
| void | slotShowNote () |
| void | slotWalkThroughNotes () |
| void | slotOpenFindDialog () |
| void | slotFindNext () |
| void | slotPreferences () |
| void | slotConfigureAccels () |
| void | slotNoteKilled (KCal::Journal *journal) |
| void | slotQuit () |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *) |
Member Function Documentation
|
|
Returns the background color of a note.
Implements KNotesAppIface. Definition at line 367 of file knotesapp.cpp. |
|
|
Returns the foreground/text color of a note.
Implements KNotesAppIface. Definition at line 358 of file knotesapp.cpp. |
|
|
Returns the height of a note.
Implements KNotesAppIface. Definition at line 394 of file knotesapp.cpp. |
|
|
Hide all notes.
Implements KNotesAppIface. Definition at line 261 of file knotesapp.cpp. |
|
|
Hide a note.
Implements KNotesAppIface. Definition at line 287 of file knotesapp.cpp. |
|
||||||||||||
|
Test if a note was modified since the last sync.
Implements KNotesAppIface. Definition at line 438 of file knotesapp.cpp. |
|
||||||||||||
|
Test if a note was created new after the last sync.
Implements KNotesAppIface. Definition at line 429 of file knotesapp.cpp. |
|
||||||||||||
|
Deletes a note forever.
Implements KNotesAppIface. Definition at line 296 of file knotesapp.cpp. |
|
|
Deletes a note forever.
Implements KNotesAppIface. Definition at line 306 of file knotesapp.cpp. |
|
||||||||||||||||
|
Repositions a note.
Implements KNotesAppIface. Definition at line 403 of file knotesapp.cpp. |
|
|
Returns the title/name of a note.
Implements KNotesAppIface. Definition at line 322 of file knotesapp.cpp. |
|
||||||||||||
|
Create a new note.
Implements KNotesAppIface. Definition at line 234 of file knotesapp.cpp. |
|
|
Create a new note and inserts the current text in the clipboard as text.
Implements KNotesAppIface. Definition at line 255 of file knotesapp.cpp. |
|
|
Get all the notes including their ids.
Implements KNotesAppIface. Definition at line 311 of file knotesapp.cpp. |
|
||||||||||||||||
|
Changes the size of a note.
Implements KNotesAppIface. Definition at line 412 of file knotesapp.cpp. |
|
||||||||||||||||
|
Sets the color (foreground and background color) of a note.
Implements KNotesAppIface. Definition at line 376 of file knotesapp.cpp. |
|
||||||||||||
|
Changes the title/name of a note.
Implements KNotesAppIface. Definition at line 340 of file knotesapp.cpp. |
|
||||||||||||
|
Sets the text of a note. This will delete the old text!
Implements KNotesAppIface. Definition at line 349 of file knotesapp.cpp. |
|
|
Show all notes on their respective desktops.
Implements KNotesAppIface. Definition at line 268 of file knotesapp.cpp. |
|
|
Show a note as if it had been selected from the "notes" menu.
Implements KNotesAppIface. Definition at line 278 of file knotesapp.cpp. |
|
|
This tells KNotes that a specific app has synchronized with all the notes.
Implements KNotesAppIface. Definition at line 421 of file knotesapp.cpp. |
|
|
Returns the text of a note.
Implements KNotesAppIface. Definition at line 331 of file knotesapp.cpp. |
|
|
Returns the width of a note.
Implements KNotesAppIface. Definition at line 385 of file knotesapp.cpp. |
The documentation for this class was generated from the following files:

