summaryrefslogtreecommitdiff
path: root/core/apps/textedit
authorllornkcor <llornkcor>2002-03-19 00:25:30 (UTC)
committer llornkcor <llornkcor>2002-03-19 00:25:30 (UTC)
commitfbe272267851eeda20bf48aee9a01ac4dd1143c2 (patch) (unidiff)
treeeb2aaea05277d12e66c712c7d109c99c1e3f8f7d /core/apps/textedit
parent342ac04976065864b351c6b36087a483a8932da7 (diff)
downloadopie-fbe272267851eeda20bf48aee9a01ac4dd1143c2.zip
opie-fbe272267851eeda20bf48aee9a01ac4dd1143c2.tar.gz
opie-fbe272267851eeda20bf48aee9a01ac4dd1143c2.tar.bz2
added config entry
Diffstat (limited to 'core/apps/textedit') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp11
-rw-r--r--core/apps/textedit/textedit.h3
-rw-r--r--core/apps/textedit/textedit.pro4
3 files changed, 12 insertions, 6 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index d3f5fb4..f56d5d3 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -238,2 +238,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
238 setToolBarsMovable( FALSE ); 238 setToolBarsMovable( FALSE );
239 connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) );
239 240
@@ -409,6 +410,5 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f )
409 410
410TextEdit::~TextEdit() 411void TextEdit::cleanUp()
411{ 412{
412// save(); 413// save();
413
414 Config cfg("TextEdit"); 414 Config cfg("TextEdit");
@@ -420,3 +420,8 @@ TextEdit::~TextEdit()
420 cfg.writeEntry("Wrap",editor->wordWrap() == QMultiLineEdit::WidgetWidth); 420 cfg.writeEntry("Wrap",editor->wordWrap() == QMultiLineEdit::WidgetWidth);
421 cfg.writeEntry( "FileView", viewSelection ); 421 cfg.writeEntry( "FileView", viewSelection );
422
423}
424
425TextEdit::~TextEdit()
426{
422} 427}
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h
index aca2933..a70b581 100644
--- a/core/apps/textedit/textedit.h
+++ b/core/apps/textedit/textedit.h
@@ -73,2 +73,3 @@ private slots:
73 bool saveAs(); 73 bool saveAs();
74 void cleanUp();
74 75
@@ -113,3 +114,3 @@ private:
113 bool bFromDocView; 114 bool bFromDocView;
114 int viewSelection; 115 int viewSelection;
115 QAction *zin, *zout; 116 QAction *zin, *zout;
diff --git a/core/apps/textedit/textedit.pro b/core/apps/textedit/textedit.pro
index 1301aed..37ddf15 100644
--- a/core/apps/textedit/textedit.pro
+++ b/core/apps/textedit/textedit.pro
@@ -13,3 +13,3 @@ TARGET = textedit
13 13
14TRANSLATIONS = ../i18n/de/textedit.ts 14TRANSLATIONS += ../i18n/de/textedit.ts
15TRANSLATIONS = ../i18n/pt_BR/textedit.ts 15TRANSLATIONS += ../i18n/pt_BR/textedit.ts