[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-devel] CVS: kdegames/atlantik/client monopigator.cpp,1.7,1.8
From:       kde () office ! kde ! org
Date:       2002-04-30 21:36:02
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv18910/client

Modified Files:
	monopigator.cpp 
Log Message:
identify as Atlantik in HTTP requests

Index: monopigator.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/monopigator.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- monopigator.cpp	2002/04/23 16:56:30	1.7
+++ monopigator.cpp	2002/04/30 21:36:00	1.8
@@ -17,6 +17,7 @@
 #include <qdom.h>
 
 #include "monopigator.moc"
+#include "main.h"
 
 Monopigator::Monopigator()
 {
@@ -32,6 +33,8 @@
 	m_downloadData->reset();
 
 	KIO::Job *job = KIO::get(url.url(), true, false);
+	job->addMetaData(QString::fromLatin1("UserAgent"), QString::fromLatin1("Atlantik/" \
ATLANTIK_VERSION_STRING)); +
 	connect(job, SIGNAL(data(KIO::Job *, const QByteArray &)), SLOT(slotData(KIO::Job \
*, const QByteArray &)));  connect(job, SIGNAL(result(KIO::Job *)), \
SLOT(slotResult(KIO::Job *)));  }

_______________________________________________
atlantik-devel mailing list
atlantik-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic