[atlantik-cvs] CVS: kdeaddons/atlantikdesigner/designer designer.cpp,1.50,1.51

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdeaddons/atlantikdesigner/designer
In directory office:/tmp/cvs-serv8460

Modified Files:
	designer.cpp 
Log Message:
Use the monopd/Atlantik standard utf8.

Index: designer.cpp
===================================================================
RCS file: /home/kde/kdeaddons/atlantikdesigner/designer/designer.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- designer.cpp	9 Jan 2003 02:10:52 -0000	1.50
+++ designer.cpp	12 Jan 2003 08:18:41 -0000	1.51
@@ -8,6 +8,7 @@
 #include <qpopupmenu.h>
 #include <qptrlist.h>
 #include <qstring.h>
+#include <qtextcodec.h>
 #include <qtextstream.h>
 #include <qtimer.h>
 #include <qwidget.h>
@@ -250,6 +251,8 @@
 	initMembers();
 
 	QTextStream t(&f);
+	t.setCodec(QTextCodec::codecForName("utf8"));
+
 	QString s = t.readLine();
 	int parseMode = Parse_Nothing;
 
@@ -596,6 +599,7 @@
 		return;
 
 	QTextStream t(&f);
+	t.setCodec(QTextCodec::codecForName("utf8"));
 
 	t << "<General>" << endl << endl;
 	if (!boardInfo.name.isEmpty())
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.