summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/tinykate.h
Unidiff
Diffstat (limited to 'noncore/apps/tinykate/tinykate.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/tinykate/tinykate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/tinykate.h b/noncore/apps/tinykate/tinykate.h
index cdd8f43..2e8ca74 100644
--- a/noncore/apps/tinykate/tinykate.h
+++ b/noncore/apps/tinykate/tinykate.h
@@ -27,24 +27,25 @@ class QToolButton;
27class QAction; 27class QAction;
28class QPopupMenu; 28class QPopupMenu;
29 29
30class TinyKate : public QMainWindow 30class TinyKate : public QMainWindow
31{ 31{
32Q_OBJECT 32Q_OBJECT
33public: 33public:
34 TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0); 34 TinyKate( QWidget *parent=0, const char *name=0, WFlags f = 0);
35 ~TinyKate( ); 35 ~TinyKate( );
36 36
37public slots: 37public slots:
38 void slotNew(); 38 void slotNew();
39 void setDocument(const QString& fileref);
39 40
40protected slots: 41protected slots:
41 void slotOpen(); 42 void slotOpen();
42 void slotClose(); 43 void slotClose();
43 void slotCurrentChanged(QWidget *); 44 void slotCurrentChanged(QWidget *);
44 void slotSave(); 45 void slotSave();
45 void slotSaveAs(); 46 void slotSaveAs();
46protected: 47protected:
47 void open(const QString&); 48 void open(const QString&);
48private: 49private:
49 QString currentFileName; 50 QString currentFileName;
50 OTabWidget *tabwidget; 51 OTabWidget *tabwidget;