More Q classes to K classes.
Index: okular/ui/formwidgets.cpp
===================================================================
--- okular/ui/formwidgets.cpp	(revision 1109126)
+++ okular/ui/formwidgets.cpp	(working copy)
@@ -299,7 +299,7 @@
 
 
 FormLineEdit::FormLineEdit( Okular::FormFieldText * text, QWidget * parent )
-    : QLineEdit( parent ), FormWidgetIface( this, text ), m_form( text )
+    : KLineEdit( parent ), FormWidgetIface( this, text ), m_form( text )
 {
     int maxlen = m_form->maximumLength();
     if ( maxlen >= 0 )
@@ -404,7 +404,7 @@
 
 
 ComboEdit::ComboEdit( Okular::FormFieldChoice * choice, QWidget * parent )
-    : QComboBox( parent ), FormWidgetIface( this, choice ), m_form( choice )
+    : KComboBox( parent ), FormWidgetIface( this, choice ), m_form( choice )
 {
     addItems( m_form->choices() );
     setEditable( true );
Index: okular/ui/annotationwidgets.h
===================================================================
--- okular/ui/annotationwidgets.h	(revision 1109126)
+++ okular/ui/annotationwidgets.h	(working copy)
@@ -15,7 +15,7 @@
 #include "core/annotations.h"
 
 class QCheckBox;
-class QComboBox;
+class KComboBox;
 class QDoubleSpinBox;
 class QLabel;
 class QWidget;
@@ -51,7 +51,7 @@
 private:
     QString m_icon;
     QLabel * m_iconLabel;
-    QComboBox * m_comboItems;
+    KComboBox * m_comboItems;
     int m_previewSize;
 };
 
@@ -167,7 +167,7 @@
 
 private:
     Okular::HighlightAnnotation * m_hlAnn;
-    QComboBox * m_typeCombo;
+    KComboBox * m_typeCombo;
 };
 
 class GeomAnnotationWidget
@@ -185,7 +185,7 @@
 
 private:
     Okular::GeomAnnotation * m_geomAnn;
-    QComboBox * m_typeCombo;
+    KComboBox * m_typeCombo;
     QCheckBox * m_useColor;
     KColorButton * m_innerColor;
     QDoubleSpinBox * m_spinSize;
Index: okular/ui/annotwindow.h
===================================================================
--- okular/ui/annotwindow.h	(revision 1109126)
+++ okular/ui/annotwindow.h	(working copy)
@@ -18,7 +18,7 @@
 class Annotation;
 }
 
-class QTextEdit;
+class KTextEdit;
 class MovableTitle;
 
 class AnnotWindow : public QFrame
@@ -31,7 +31,7 @@
         
     private:
         MovableTitle * m_title;
-        QTextEdit *textEdit;
+        KTextEdit *textEdit;
         QColor m_color;
     public:
         Okular::Annotation* m_annot;
Index: okular/ui/annotationpropertiesdialog.h
===================================================================
--- okular/ui/annotationpropertiesdialog.h	(revision 1109126)
+++ okular/ui/annotationpropertiesdialog.h	(working copy)
@@ -13,7 +13,8 @@
 #include <kpagedialog.h>
 
 class QLabel;
-class QLineEdit;
+class KLineEdit;
+class KComboBox;
 class KColorButton;
 class KIntNumInput;
 class AnnotationWidget;
@@ -36,7 +37,7 @@
     bool modified;
     Okular::Annotation* m_annot;    //source annotation
     //dialog widgets:
-    QLineEdit *AuthorEdit;
+    KLineEdit *AuthorEdit;
     KColorButton *colorBn;
     KIntNumInput *m_opacity;
     AnnotationWidget *m_annotWidget;
Index: okular/ui/formwidgets.h
===================================================================
--- okular/ui/formwidgets.h	(revision 1109126)
+++ okular/ui/formwidgets.h	(working copy)
@@ -13,8 +13,8 @@
 #include "core/area.h"
 
 #include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
+#include <kcombobox.h>
+#include <klineedit.h>
 #include <qlistwidget.h>
 #include <qpushbutton.h>
 #include <qradiobutton.h>
@@ -154,7 +154,7 @@
         Okular::FormFieldButton * m_form;
 };
 
-class FormLineEdit : public QLineEdit, public FormWidgetIface
+class FormLineEdit : public KLineEdit, public FormWidgetIface
 {
     Q_OBJECT
 
@@ -213,7 +213,7 @@
 };
 
 
-class ComboEdit : public QComboBox, public FormWidgetIface
+class ComboEdit : public KComboBox, public FormWidgetIface
 {
     Q_OBJECT
 
Index: okular/ui/presentationwidget.h
===================================================================
--- okular/ui/presentationwidget.h	(revision 1109126)
+++ okular/ui/presentationwidget.h	(working copy)
@@ -17,7 +17,7 @@
 #include "core/observer.h"
 #include "core/pagetransition.h"
 
-class QLineEdit;
+class KLineEdit;
 class QToolBar;
 class QTimer;
 class KActionCollection;
@@ -121,7 +121,7 @@
         int m_frameIndex;
         QStringList m_metaStrings;
         QToolBar * m_topBar;
-        QLineEdit *m_pagesEdit;
+        KLineEdit *m_pagesEdit;
         PresentationSearchBar *m_searchBar;
         KActionCollection * m_ac;
         KSelectAction * m_screenSelect;
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to