summaryrefslogtreecommitdiffstats
path: root/src/knowit.h
diff options
context:
space:
mode:
authorPhilippe Mavridis <philippe.mavridis@yandex.com>2025-10-26 14:35:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2025-11-01 01:04:10 +0100
commit41395393452c1a1f2b0cbebbdbd3344d8a5c9290 (patch)
treee57b09d7a8402a0dffdbd68476d7cf6b436832d0 /src/knowit.h
parentae9235eff90f73248b68ca941ea0868f512a0a22 (diff)
downloadknowit-41395393.tar.gz
knowit-41395393.zip
Add last save status widget to status bar
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com> (cherry picked from commit 5c26aae7ef81b70a9fd7e2ab0b0681a418970df8)
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 **/