Commit 30844cf3 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

KPushButton => QPushButton

parent 3bbab1df
......@@ -235,7 +235,7 @@
</widget>
</item>
<item>
<widget class="KPushButton" name="PreviewButton">
<widget class="QPushButton" name="PreviewButton">
<property name="enabled">
<bool>true</bool>
</property>
......@@ -305,7 +305,7 @@
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -19,7 +19,7 @@
#include <kurl.h>
#include <kmessagebox.h>
#include <kpushbutton.h>
#include <QPushButton>
#include <ktoolinvocation.h>
#include "skyobjects/skyobject.h"
......
......@@ -122,7 +122,7 @@
</spacer>
</item>
<item>
<widget class="KPushButton" name="URLButton" >
<widget class="QPushButton" name="URLButton" >
<property name="toolTip" >
<string>Open URL in a browser window</string>
</property>
......@@ -167,7 +167,7 @@
<container>1</container>
</customwidget>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -27,7 +27,7 @@
#include <kstandarddirs.h>
#include <kmessagebox.h>
#include <kpushbutton.h>
#include <QPushButton>
#include <klineedit.h>
#include <ktoolinvocation.h>
#include <ktemporaryfile.h>
......
......@@ -26,7 +26,7 @@
#include <kactioncollection.h>
#include <klocale.h>
#include <QDebug>
#include <kpushbutton.h>
#include <QPushButton>
#include <kcolorbutton.h>
#include <kcombobox.h>
#include <knuminput.h>
......
......@@ -49,7 +49,7 @@
<number>0</number>
</property>
<item>
<widget class="KPushButton" name="NewButton" >
<widget class="QPushButton" name="NewButton" >
<property name="toolTip" >
<string>Add a new FOV symbol</string>
</property>
......@@ -78,7 +78,7 @@
</spacer>
</item>
<item>
<widget class="KPushButton" name="EditButton" >
<widget class="QPushButton" name="EditButton" >
<property name="toolTip" >
<string>Modify the highlighted FOV symbol</string>
</property>
......@@ -91,7 +91,7 @@
</widget>
</item>
<item>
<widget class="KPushButton" name="RemoveButton" >
<widget class="QPushButton" name="RemoveButton" >
<property name="toolTip" >
<string>Remove highlighted FOV symbol</string>
</property>
......@@ -162,7 +162,7 @@
<header>klistwidget.h</header>
</customwidget>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -356,7 +356,7 @@
<number>0</number>
</property>
<item>
<widget class="KPushButton" name="ClearFieldsButton">
<widget class="QPushButton" name="ClearFieldsButton">
<property name="text">
<string>&amp;Clear Fields</string>
</property>
......@@ -376,7 +376,7 @@
</spacer>
</item>
<item>
<widget class="KPushButton" name="AddCityButton">
<widget class="QPushButton" name="AddCityButton">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -406,7 +406,7 @@
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -351,7 +351,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</spacer>
</item>
<item>
<widget class="KPushButton" name="ComputeEyeFOV">
<widget class="QPushButton" name="ComputeEyeFOV">
<property name="toolTip">
<string>Compute field-of-view from above data fields</string>
</property>
......@@ -381,7 +381,7 @@ The computed FOV angle (in arcminutes) will be displayed in the &quot;Field of v
<number>6</number>
</property>
<item row="2" column="1">
<widget class="KPushButton" name="ComputeCameraFOV">
<widget class="QPushButton" name="ComputeCameraFOV">
<property name="toolTip">
<string>Compute field-of-view from above data fields</string>
</property>
......@@ -628,7 +628,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
<number>6</number>
</property>
<item row="2" column="1">
<widget class="KPushButton" name="ComputeBinocularFOV">
<widget class="QPushButton" name="ComputeBinocularFOV">
<property name="toolTip">
<string>Compute field-of-view from above data fields</string>
</property>
......@@ -983,7 +983,7 @@ This is one of the data fields required for defining a field-of-view (FOV) symbo
</spacer>
</item>
<item>
<widget class="KPushButton" name="ComputeHPBW">
<widget class="QPushButton" name="ComputeHPBW">
<property name="toolTip">
<string>Compute radiotelescope HPBW from above data fields</string>
</property>
......@@ -1314,7 +1314,7 @@ Circle, Square, Crosshairs, Bullseye.</string>
<container>1</container>
</customwidget>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -19,7 +19,7 @@
#include "timedialog.h"
#include <klocale.h>
#include <kpushbutton.h>
#include <QPushButton>
#include <kdatepicker.h>
#include <QFrame>
......@@ -54,7 +54,7 @@ TimeDialog::TimeDialog( const KStarsDateTime &now, GeoLocation *_geo, QWidget *p
dPicker = new KDatePicker( now.date(), page );
tEdit = new QTimeEdit( now.time(), page );
NowButton = new KPushButton( page );
NowButton = new QPushButton( page );
NowButton->setObjectName( "NowButton" );
NowButton->setText( UTCNow ? i18n( "UTC Now" ) : i18n( "Now" ) );
......
......@@ -32,7 +32,7 @@ class QHBoxLayout;
class QVBoxLayout;
class KDatePicker;
class QTimeEdit;
class KPushButton;
class QPushButton;
class GeoLocation;
/**@class TimeDialog
......@@ -88,7 +88,7 @@ private:
QVBoxLayout *vlay;
KDatePicker *dPicker;
QTimeEdit *tEdit;
KPushButton* NowButton;
QPushButton* NowButton;
GeoLocation *geo;
};
......
......@@ -123,7 +123,7 @@
</spacer>
</item>
<item>
<widget class="KPushButton" name="DownloadButton">
<widget class="QPushButton" name="DownloadButton">
<property name="text">
<string>Download Extra Data...</string>
</property>
......@@ -163,7 +163,7 @@
</widget>
<customwidgets>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -225,7 +225,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="KPushButton" name="processINDIB">
<widget class="QPushButton" name="processINDIB">
<property name="enabled">
<bool>true</bool>
</property>
......@@ -235,7 +235,7 @@
</widget>
</item>
<item>
<widget class="KPushButton" name="controlPanelB">
<widget class="QPushButton" name="controlPanelB">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -245,7 +245,7 @@
</widget>
</item>
<item>
<widget class="KPushButton" name="optionsB">
<widget class="QPushButton" name="optionsB">
<property name="enabled">
<bool>true</bool>
</property>
......@@ -268,7 +268,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="KPushButton" name="connectB">
<widget class="QPushButton" name="connectB">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -278,7 +278,7 @@
</widget>
</item>
<item>
<widget class="KPushButton" name="disconnectB">
<widget class="QPushButton" name="disconnectB">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -366,7 +366,7 @@
</widget>
<customwidgets>
<customwidget>
<class>KPushButton</class>
<class>QPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
......
......@@ -10,7 +10,7 @@
#include "opsekos.h"
#include <kpushbutton.h>
#include <QPushButton>
#include <kfiledialog.h>
#include <klineedit.h>
#include <kconfigdialog.h>
......
......@@ -27,7 +27,7 @@
#include <QMenu>
#include <KMessageBox>
#include <KPushButton>
#include <QPushButton>
#include <QLineEdit>
#include <KProcess>
#include <QAction>
......
......@@ -23,7 +23,7 @@
#include <KLed>
#include <QLineEdit>
#include <KPushButton>
#include <QPushButton>
#include <KLocale>
#include <KMessageBox>
#include <KDebug>
......
......@@ -27,7 +27,7 @@
#include <kled.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include <QPushButton>
#include <klocale.h>
#include <kmessagebox.h>
#include <QDebug>
......
......@@ -32,7 +32,7 @@
#include <QMenu>
#include <KMessageBox>
#include <KPushButton>
#include <QPushButton>
#include <QLineEdit>
#include <KProcess>
#include <QAction>
......
......@@ -29,7 +29,7 @@
#include <QDoubleSpinBox>
#include <QDebug>
#include <KPushButton>
#include <QPushButton>
#include <KSqueezedTextLabel>
#include <QLineEdit>
#include <KLocale>
......@@ -104,7 +104,7 @@ void INDI_E::buildSwitch(QButtonGroup* groupB, ISwitch *sw)
switch (guiProp->getGUIType())
{
case PG_BUTTONS:
push_w = new KPushButton(label, guiProp->getGroup()->getContainer());
push_w = new QPushButton(label, guiProp->getGroup()->getContainer());
groupB->addButton(push_w);
syncSwitch();
......@@ -609,7 +609,7 @@ void INDI_E::setupElementRead(int length)
void INDI_E::setupBrowseButton()
{
browse_w = new KPushButton("...", guiProp->getGroup()->getContainer());
browse_w = new QPushButton("...", guiProp->getGroup()->getContainer());
browse_w->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
browse_w->setMinimumWidth( MIN_SET_WIDTH );
browse_w->setMaximumWidth( MAX_SET_WIDTH );
......
......@@ -27,7 +27,7 @@
class KLed;
class QLineEdit;
class QDoubleSpinBox;
class KPushButton;
class QPushButton;
class KSqueezedTextLabel;
class QLabel;
......@@ -106,8 +106,8 @@ private:
KLed *led_w; // light led
QDoubleSpinBox *spin_w; // spinbox
QSlider *slider_w; // Slider
KPushButton *push_w; // push button
KPushButton *browse_w; // browse button
QPushButton *push_w; // push button
QPushButton *browse_w; // browse button
QCheckBox *check_w; // check box
QSpacerItem *hSpacer; // Horizontal spacer
......
......@@ -39,7 +39,7 @@
#include <KLed>
#include <QLineEdit>
#include <KPushButton>
#include <QPushButton>
#include <KLocale>
#include <KMessageBox>
#include <KDebug>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment