summaryrefslogtreecommitdiffstats
path: root/src/knowit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knowit.h')
-rw-r--r--src/knowit.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/knowit.h b/src/knowit.h
index c862759..2ee4897 100644
--- a/src/knowit.h
+++ b/src/knowit.h
@@ -2,7 +2,7 @@
knowit.h - description
-------------------
begin : czw wrz 26 08:27:40 CEST 2002
- copyright : (C) 2002-2004 by Micha³ Rudolf
+ copyright : (C) 2002-2004 by Michał Rudolf
email : mrudolf@kdewebdev.org
***************************************************************************/
@@ -45,13 +45,13 @@ class TDERecentFilesAction;
class KnowitTray;
class KnowitEdit;
class KnowitTree;
-
+
/** Knowit is the base class of the project */
class Knowit : public TDEMainWindow
{
TQ_OBJECT
-
+
private:
static const TQString Untitled;
TDEConfig *config;
@@ -84,7 +84,7 @@ class Knowit : public TDEMainWindow
TDEAction *actionCut, *actionCopy, *actionUndo, *actionRedo;
/** Insert/Overwrite status */
- enum {StatusText = 1, StatusOvr = 2};
+ enum {StatusText = 1, StatusLastSave = 2, StatusOvr = 3};
public:
/** Constructor of main window */
Knowit(TQWidget* parent=0, const char *name=0);
@@ -121,6 +121,8 @@ class Knowit : public TDEMainWindow
public slots:
/** Status bar text has changed - displays it */
void slotStatusMsg(const TQString& text);
+ /** Last save status timestamp has changed - displays it */
+ void slotStatusLastSave(const TQDateTime& timestamp);
/** Shows requested popup menu for notes */
void slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&);
/** Shows given note */
@@ -233,7 +235,7 @@ class Knowit : public TDEMainWindow
void slotOverwriteModeChange();
/** Toggles raw text/rich text edit mode */
void slotRawTextMode();
-
+
/** Shows requested popup menu for links */
void slotContextLinksMenu(TQListBoxItem* item, const TQPoint&);
/** show current attachment **/