summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.h
Unidiff
Diffstat (limited to 'core/apps/textedit/textedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h
index 4848051..a95e742 100644
--- a/core/apps/textedit/textedit.h
+++ b/core/apps/textedit/textedit.h
@@ -54,21 +54,21 @@ class TextEdit : public QMainWindow
54 54
55public: 55public:
56 TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 56 TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
57 ~TextEdit(); 57 ~TextEdit();
58 58
59 QPopupMenu *font; 59 QPopupMenu *font;
60 QAction *nStart, *nFileDlgOpt, *nAdvanced, *desktopAction, *filePermAction; 60 QAction *nStart, *nFileDlgOpt, *nAdvanced, *desktopAction, *filePermAction, *searchBarAction;
61 bool edited, edited1; 61 bool edited, edited1;
62 void openFile( const QString & ); 62 void openFile( const QString & );
63 QCopChannel * channel; 63 QCopChannel * channel;
64public slots: 64public slots:
65 void editorChanged(); 65 void editorChanged();
66void receive(const QCString&, const QByteArray&); 66void receive(const QCString&, const QByteArray&);
67protected: 67protected:
68 bool fileIs, useAdvancedFeatures, promptExit, openDesktop, filePerms; 68 bool fileIs, useAdvancedFeatures, promptExit, openDesktop, filePerms, useSearchBar;
69 void closeEvent( QCloseEvent *e ); 69 void closeEvent( QCloseEvent *e );
70 void doSearchBar(); 70 void doSearchBar();
71private slots: 71private slots:
72 void editPasteTimeDate(); 72 void editPasteTimeDate();
73 void doPrompt(bool); 73 void doPrompt(bool);
74 void doDesktop(bool); 74 void doDesktop(bool);
@@ -103,14 +103,16 @@ private slots:
103 103
104 void zoomIn(); 104 void zoomIn();
105 void zoomOut(); 105 void zoomOut();
106 void setBold(bool y); 106 void setBold(bool y);
107 void setItalic(bool y); 107 void setItalic(bool y);
108 void setWordWrap(bool y); 108 void setWordWrap(bool y);
109 void setSearchBar(bool);
109 110
110private: 111private:
112 void openDotFile(const QString &);
111 void colorChanged( const QColor &c ); 113 void colorChanged( const QColor &c );
112 void clear(); 114 void clear();
113 void updateCaption( const QString &name=QString::null ); 115 void updateCaption( const QString &name=QString::null );
114 void setFontSize(int sz, bool round_down_not_up); 116 void setFontSize(int sz, bool round_down_not_up);
115 117
116private: 118private: