kill old stuff that is now in kde.

This commit is contained in:
espie 2003-01-27 19:34:30 +00:00
parent 00fee8ddf5
commit 5c02a4bdb7
3 changed files with 0 additions and 71 deletions

View File

@ -1,38 +0,0 @@
$OpenBSD: patch-kcontrol_clock_dtime_cpp,v 1.1 2003/01/08 09:59:07 espie Exp $
--- kcontrol/clock/dtime.cpp.orig Mon Jun 24 11:55:36 2002
+++ kcontrol/clock/dtime.cpp Wed Jan 8 09:52:58 2003
@@ -246,10 +246,19 @@ void Dtime::save()
{
KProcess c_proc;
+// BSD systems reverse year compared to Susv3
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ BufS.sprintf("%04d%02d%02d%02d%02d.%02d",
+ date.year(),
+ date.month(), date.day(),
+ hour->text().toInt(), minute->text().toInt(),
+ second->text().toInt());
+#else
BufS.sprintf("%02d%02d%02d%02d%04d.%02d",
date.month(), date.day(),
hour->text().toInt(), minute->text().toInt(),
date.year(), second->text().toInt());
+#endif
kdDebug() << "Set date " << BufS << endl;
@@ -257,8 +266,12 @@ void Dtime::save()
c_proc << BufS;
c_proc.start( KProcess::Block );
- if ( c_proc.exitStatus() != 0 )
- {
+ int result = c_proc.exitStatus();
+ if (result != 0
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ && result != 2 // can only set local date, which is okay
+#endif
+ ) {
KMessageBox::error( this, i18n("Can not set date."));
return;
}

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-kcontrol_nics_nic_h,v 1.1 2003/01/09 02:49:04 espie Exp $
--- kcontrol/nics/nic.h.orig Thu Jan 3 20:29:30 2002
+++ kcontrol/nics/nic.h Wed Jan 8 20:38:31 2003
@@ -28,6 +28,7 @@
#include <qlistview.h>
#include <kcmodule.h>
+#include <kaboutdata.h>
class KCMNic:public KCModule
{
@@ -35,6 +36,7 @@ class KCMNic:public KCModule
public:
KCMNic(QWidget *parent=0, const char * name=0, const QStringList &list = QStringList( ));
virtual ~KCMNic() {};
+ const KAboutData* aboutData() const;
protected slots:
void update();

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-kioslave_man_kio_man_cpp,v 1.3 2002/05/23 14:37:21 espie Exp $
--- kioslave/man/kio_man.cpp.orig Thu May 16 23:24:56 2002
+++ kioslave/man/kio_man.cpp Thu May 16 23:25:31 2002
@@ -571,6 +571,10 @@ QString sectionName(const QString& secti
return i18n("System Calls");
else if (section == "3")
return i18n("Subroutines");
+ else if (section == "3p")
+ return i18n("Perl Modules");
+ else if (section == "3n")
+ return i18n("Network Functions");
else if (section == "4")
return i18n("Devices");
else if (section == "5")