From 273ccce287bccee117bbfff8ca3386d613aec467 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Fri, 1 Feb 2013 17:25:43 -0600
Subject: Fix FTBFS

---
 keduca/keduca/kradioeduca.cpp   | 83 -----------------------------------------
 keduca/keduca/kradioeduca.h     | 52 --------------------------
 keduca/keduca/tderadioeduca.cpp | 83 +++++++++++++++++++++++++++++++++++++++++
 keduca/keduca/tderadioeduca.h   | 52 ++++++++++++++++++++++++++
 4 files changed, 135 insertions(+), 135 deletions(-)
 delete mode 100644 keduca/keduca/kradioeduca.cpp
 delete mode 100644 keduca/keduca/kradioeduca.h
 create mode 100644 keduca/keduca/tderadioeduca.cpp
 create mode 100644 keduca/keduca/tderadioeduca.h

diff --git a/keduca/keduca/kradioeduca.cpp b/keduca/keduca/kradioeduca.cpp
deleted file mode 100644
index b858cb6d..00000000
--- a/keduca/keduca/kradioeduca.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-/***************************************************************************
-                          kradioeduca.cpp  -  description
-                             -------------------
-    begin                : Wed Sep 6 2000
-    copyright            : (C) 2000 by Javier Campos Morales
-    email                : javi@asyris.org
-***************************************************************************/
-
-/***************************************************************************
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- ***************************************************************************/
-
-#include "kradioeduca.h"
-#include "kradioeduca.moc"
-#include <tqstyle.h>
-#include <kaccelmanager.h>
-
-TDERadioEduca::TDERadioEduca(TQWidget *parent, const char *name) : TQRadioButton(parent,name)
-{
-    _doc=0;
-    TDEAcceleratorManager::setNoAccel(this);
-}
-
-TDERadioEduca::~TDERadioEduca()
-{
-    delete _doc;
-}
-
-/** reimpl */
-void TDERadioEduca::drawButtonLabel( TQPainter *p)
-{
-    int x, y, w, h;
-    int extra_width, indicator_width;
-    extra_width = 8;
-    indicator_width = style().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0);
-
-    y = 0;
-    x = indicator_width + extra_width; //###
-    w = width() - x;
-    h = height();
-
-    TQRect cr(x,y,w,h);
-
-    _doc = new TQSimpleRichText( text(), font() );
-    _doc->setWidth( 10 );
-
-    _doc->setWidth(p, cr.width() );
-    int rw = _doc->widthUsed() + extra_width;
-    int rh = _doc->height();
-    int xo = 0;
-    int yo = 0;
-
-    resize( width(), rh);
-
-    yo = (cr.height()-rh)/2;
-
-    if (!isEnabled() ) {
-        TQColorGroup cg = colorGroup();
-        cg.setColor( TQColorGroup::Text, cg.light() );
-        _doc->draw(p, cr.x()+xo+1, cr.y()+yo+1, cr, cg, 0);
-    }
-    _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0);
-
-    if ( hasFocus() ) {
-//	TQRect br = style().itemRect( p, x, y, rw, rh+yo,
-//				   AlignLeft|AlignVCenter|ShowPrefix,
-//				   isEnabled(),
-//				   pixmap(), text().visual() );
-        TQRect br(x,y,rw,rh+yo);
-
-        br.setLeft( br.left()-3 );
-        br.setRight( br.right()+2 );
-        br.setTop( br.top()-2 );
-        br.setBottom( br.bottom()+2);
-        br = br.intersect( TQRect(0,0,rw, rh+yo ) );
-        style().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup());
-    }
-}
diff --git a/keduca/keduca/kradioeduca.h b/keduca/keduca/kradioeduca.h
deleted file mode 100644
index 1056ff53..00000000
--- a/keduca/keduca/kradioeduca.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/***************************************************************************
-                          kradioeduca.h  -  description
-                             -------------------
-    begin                : Wed Sep 6 2000
-    copyright            : (C) 2000 by Javier Campos Morales
-    email                : javi@asyris.org
-***************************************************************************/
-
-/***************************************************************************
- *                                                                         *
- *   This program is free software; you can redistribute it and/or modify  *
- *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
- *                                                                         *
- ***************************************************************************/
-
-#ifndef KRADIOEDUCA_H
-#define KRADIOEDUCA_H
-
-
-#include <tqradiobutton.h>
-#include <tqsimplerichtext.h>
-
-/**TQRadioButton with wordwrap and richtext features
- *@author Javier Campos Morales
- */
-class TDERadioEduca : public TQRadioButton {
-    Q_OBJECT
-  
-
-public:
-    TDERadioEduca(TQWidget *parent=0, const char *name=0);
-    ~TDERadioEduca();
-
-protected:
-
-    // Protected methods
-
-    /** reimpl */
-    void drawButtonLabel( TQPainter *p);
-
-private:
-
-    // Private attributes
-
-    /** Rich Text */
-    TQSimpleRichText *_doc;
-
-};
-
-#endif
diff --git a/keduca/keduca/tderadioeduca.cpp b/keduca/keduca/tderadioeduca.cpp
new file mode 100644
index 00000000..b858cb6d
--- /dev/null
+++ b/keduca/keduca/tderadioeduca.cpp
@@ -0,0 +1,83 @@
+/***************************************************************************
+                          kradioeduca.cpp  -  description
+                             -------------------
+    begin                : Wed Sep 6 2000
+    copyright            : (C) 2000 by Javier Campos Morales
+    email                : javi@asyris.org
+***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
+#include "kradioeduca.h"
+#include "kradioeduca.moc"
+#include <tqstyle.h>
+#include <kaccelmanager.h>
+
+TDERadioEduca::TDERadioEduca(TQWidget *parent, const char *name) : TQRadioButton(parent,name)
+{
+    _doc=0;
+    TDEAcceleratorManager::setNoAccel(this);
+}
+
+TDERadioEduca::~TDERadioEduca()
+{
+    delete _doc;
+}
+
+/** reimpl */
+void TDERadioEduca::drawButtonLabel( TQPainter *p)
+{
+    int x, y, w, h;
+    int extra_width, indicator_width;
+    extra_width = 8;
+    indicator_width = style().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0);
+
+    y = 0;
+    x = indicator_width + extra_width; //###
+    w = width() - x;
+    h = height();
+
+    TQRect cr(x,y,w,h);
+
+    _doc = new TQSimpleRichText( text(), font() );
+    _doc->setWidth( 10 );
+
+    _doc->setWidth(p, cr.width() );
+    int rw = _doc->widthUsed() + extra_width;
+    int rh = _doc->height();
+    int xo = 0;
+    int yo = 0;
+
+    resize( width(), rh);
+
+    yo = (cr.height()-rh)/2;
+
+    if (!isEnabled() ) {
+        TQColorGroup cg = colorGroup();
+        cg.setColor( TQColorGroup::Text, cg.light() );
+        _doc->draw(p, cr.x()+xo+1, cr.y()+yo+1, cr, cg, 0);
+    }
+    _doc->draw(p, cr.x()+xo, cr.y()+yo, cr, colorGroup(), 0);
+
+    if ( hasFocus() ) {
+//	TQRect br = style().itemRect( p, x, y, rw, rh+yo,
+//				   AlignLeft|AlignVCenter|ShowPrefix,
+//				   isEnabled(),
+//				   pixmap(), text().visual() );
+        TQRect br(x,y,rw,rh+yo);
+
+        br.setLeft( br.left()-3 );
+        br.setRight( br.right()+2 );
+        br.setTop( br.top()-2 );
+        br.setBottom( br.bottom()+2);
+        br = br.intersect( TQRect(0,0,rw, rh+yo ) );
+        style().tqdrawPrimitive( TQStyle::PE_FocusRect, p, br, colorGroup());
+    }
+}
diff --git a/keduca/keduca/tderadioeduca.h b/keduca/keduca/tderadioeduca.h
new file mode 100644
index 00000000..1056ff53
--- /dev/null
+++ b/keduca/keduca/tderadioeduca.h
@@ -0,0 +1,52 @@
+/***************************************************************************
+                          kradioeduca.h  -  description
+                             -------------------
+    begin                : Wed Sep 6 2000
+    copyright            : (C) 2000 by Javier Campos Morales
+    email                : javi@asyris.org
+***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
+#ifndef KRADIOEDUCA_H
+#define KRADIOEDUCA_H
+
+
+#include <tqradiobutton.h>
+#include <tqsimplerichtext.h>
+
+/**TQRadioButton with wordwrap and richtext features
+ *@author Javier Campos Morales
+ */
+class TDERadioEduca : public TQRadioButton {
+    Q_OBJECT
+  
+
+public:
+    TDERadioEduca(TQWidget *parent=0, const char *name=0);
+    ~TDERadioEduca();
+
+protected:
+
+    // Protected methods
+
+    /** reimpl */
+    void drawButtonLabel( TQPainter *p);
+
+private:
+
+    // Private attributes
+
+    /** Rich Text */
+    TQSimpleRichText *_doc;
+
+};
+
+#endif
-- 
cgit v1.2.3

