[atlantik-cvs] CVS: kdeaddons/atlantikdesigner/designer designer.cpp,1.47.2.2,1.47.2.3

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	designer.cpp 
Log Message:
Use the monopd/Atlantik standard utf8.  Approved by Jason.

Index: designer.cpp
===================================================================
RCS file: /home/kde/kdeaddons/atlantikdesigner/designer/designer.cpp,v
retrieving revision 1.47.2.2
retrieving revision 1.47.2.3
diff -u -d -r1.47.2.2 -r1.47.2.3
--- designer.cpp	9 Jan 2003 02:11:31 -0000	1.47.2.2
+++ designer.cpp	12 Jan 2003 08:17:18 -0000	1.47.2.3
@@ -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.