summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/knutanalog.cpp4
-rw-r--r--src/knutanalog.h2
-rwxr-xr-xsrc/knutclient.cpp2
-rwxr-xr-xsrc/knutclient.h2
-rwxr-xr-xsrc/knutfrontpanel.cpp2
-rwxr-xr-xsrc/knutfrontpanel.h2
-rwxr-xr-xsrc/knutinstcomms.cpp4
-rwxr-xr-xsrc/knutinstcomms.h2
-rw-r--r--src/knutmainwindow.cpp2
-rw-r--r--src/knutmainwindow.h2
-rw-r--r--src/knutmessage.cpp2
-rw-r--r--src/knutmessage.h2
-rw-r--r--src/knutmessagemanager.cpp2
-rw-r--r--src/knutmessagemanager.h2
-rw-r--r--src/knutnewupsdlg.cpp4
-rw-r--r--src/knutnewupsdlg.h2
-rw-r--r--src/knutpanelmeter.cpp2
-rw-r--r--src/knutpanelmeter.h2
-rw-r--r--src/knutprefdlg.cpp4
-rw-r--r--src/knutprefdlg.h2
-rw-r--r--src/knutprintupsvar.cpp4
-rwxr-xr-xsrc/knutprintupsvar.h2
-rwxr-xr-xsrc/knutrwvar.cpp4
-rwxr-xr-xsrc/knutrwvar.h2
24 files changed, 30 insertions, 30 deletions
diff --git a/src/knutanalog.cpp b/src/knutanalog.cpp
index 5c5234d..9c0cab4 100644
--- a/src/knutanalog.cpp
+++ b/src/knutanalog.cpp
@@ -38,8 +38,8 @@
-KNutAnalog::KNutAnalog( TQWidget *tqparent, const char *name, int bottomLimit, int topLimit, int typeOfView, int countOfParts, int countOfSubParts, TQColor pointerColor, TQColor scaleColor, TQColor textColor, TQFont *analogFonts, int qualityOfPointer, bool makeBG )
- : TQFrame( tqparent, name ), m_bottomLimit(bottomLimit), m_topLimit(topLimit), m_typeOfView(typeOfView), m_countOfParts(countOfParts), m_countOfSubParts(countOfSubParts), m_pointerColor(pointerColor), m_scaleColor(scaleColor) ,m_textColor(textColor) {
+KNutAnalog::KNutAnalog( TQWidget *parent, const char *name, int bottomLimit, int topLimit, int typeOfView, int countOfParts, int countOfSubParts, TQColor pointerColor, TQColor scaleColor, TQColor textColor, TQFont *analogFonts, int qualityOfPointer, bool makeBG )
+ : TQFrame( parent, name ), m_bottomLimit(bottomLimit), m_topLimit(topLimit), m_typeOfView(typeOfView), m_countOfParts(countOfParts), m_countOfSubParts(countOfSubParts), m_pointerColor(pointerColor), m_scaleColor(scaleColor) ,m_textColor(textColor) {
if ( qualityOfPointer==0) {
diff --git a/src/knutanalog.h b/src/knutanalog.h
index 060bb65..719926b 100644
--- a/src/knutanalog.h
+++ b/src/knutanalog.h
@@ -75,7 +75,7 @@ public:
* @param qualityOfPainter determine quality painting of pointer- 0 nothing. 1 fast antialiasing, 2 slow antialiasing, 3 blur motion + fast antialiasing, 4 blur motion + slow antialiasing
* @since 0.3
**/
- KNutAnalog(TQWidget *tqparent = 0, const char *name = 0, int Astart = 0, int topLimit = 100, int typeOfView = 1, int countOfParts = 5, int countOfSubParts = 0, TQColor pointerColor = TQt::black, TQColor m_scaleColor = TQt::black, TQColor textColor = TQt::black, TQFont *analogFonts = 0, int qualityOfPointer = 4, bool makeBG = false );
+ KNutAnalog(TQWidget *parent = 0, const char *name = 0, int Astart = 0, int topLimit = 100, int typeOfView = 1, int countOfParts = 5, int countOfSubParts = 0, TQColor pointerColor = TQt::black, TQColor m_scaleColor = TQt::black, TQColor textColor = TQt::black, TQFont *analogFonts = 0, int qualityOfPointer = 4, bool makeBG = false );
/**
* Destruktor
diff --git a/src/knutclient.cpp b/src/knutclient.cpp
index 54c0b52..638dbad 100755
--- a/src/knutclient.cpp
+++ b/src/knutclient.cpp
@@ -47,7 +47,7 @@
extern const char *nameUpsVars1[];
extern const char *nameUpsVars2[];
-KNutClient::KNutClient(bool noDock, TQObject* tqparent, const char *name) : TQObject(tqparent, name) {
+KNutClient::KNutClient(bool noDock, TQObject* parent, const char *name) : TQObject(parent, name) {
upsRecords = new KNutUpsData();
analogRecords = new KNutVarData();
diff --git a/src/knutclient.h b/src/knutclient.h
index 6d490a7..39106f2 100755
--- a/src/knutclient.h
+++ b/src/knutclient.h
@@ -47,7 +47,7 @@ class KNutClient : public TQObject, public KSessionManaged {
Q_OBJECT
TQ_OBJECT
public:
- KNutClient(bool noDock = false, TQObject* tqparent=0,const char* name=0);
+ KNutClient(bool noDock = false, TQObject* parent=0,const char* name=0);
~KNutClient();
private slots:
diff --git a/src/knutfrontpanel.cpp b/src/knutfrontpanel.cpp
index c8d5ef7..5c5a1f2 100755
--- a/src/knutfrontpanel.cpp
+++ b/src/knutfrontpanel.cpp
@@ -37,7 +37,7 @@
#include <math.h>
-KNutFrontPanel::KNutFrontPanel( TQPalette* const paletteIn, TQWidget *tqparent, const unsigned int flags, TQFont* const panelFonts, const char *name) : TQFrame( tqparent, name ), m_panelFlags(flags) {
+KNutFrontPanel::KNutFrontPanel( TQPalette* const paletteIn, TQWidget *parent, const unsigned int flags, TQFont* const panelFonts, const char *name) : TQFrame( parent, name ), m_panelFlags(flags) {
m_myPalette = TQPalette(*paletteIn); // makes deep copy of palette
m_upsOkColor = TQt::green;
diff --git a/src/knutfrontpanel.h b/src/knutfrontpanel.h
index 9f63a5b..85bb017 100755
--- a/src/knutfrontpanel.h
+++ b/src/knutfrontpanel.h
@@ -87,7 +87,7 @@ enum panelBulb {
* @param panelFonts Odkaz na fonts ktery se ma pouzit pro vykreslovani, pokud je = 0 (nula) pouzije se systemovy font pri aplikaci.
* @since 0.8
*/
- KNutFrontPanel( TQPalette* const paletteIn, TQWidget *tqparent = 0, const unsigned int flags = DefaultPanelFlags, TQFont* const panelFonts = 0L ,const char *name = 0);
+ KNutFrontPanel( TQPalette* const paletteIn, TQWidget *parent = 0, const unsigned int flags = DefaultPanelFlags, TQFont* const panelFonts = 0L ,const char *name = 0);
/**
* Destruktor
diff --git a/src/knutinstcomms.cpp b/src/knutinstcomms.cpp
index bb3ad10..b9e0d0a 100755
--- a/src/knutinstcomms.cpp
+++ b/src/knutinstcomms.cpp
@@ -29,8 +29,8 @@
#include <tqstring.h>
-KNutInstComms::KNutInstComms(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const upsNet, TQWidget* tqparent, const char* name, const bool modal)
-: KDialogBase(Plain, i18n("Instant commands"),Ok|Cancel,Ok, tqparent, name, modal, true), m_upsNet(upsNet),m_oldUserName(userName), m_oldUserPassword(userPassword) {
+KNutInstComms::KNutInstComms(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const upsNet, TQWidget* parent, const char* name, const bool modal)
+: KDialogBase(Plain, i18n("Instant commands"),Ok|Cancel,Ok, parent, name, modal, true), m_upsNet(upsNet),m_oldUserName(userName), m_oldUserPassword(userPassword) {
upsICommDef upsIComm;
diff --git a/src/knutinstcomms.h b/src/knutinstcomms.h
index b7c4244..c5050de 100755
--- a/src/knutinstcomms.h
+++ b/src/knutinstcomms.h
@@ -53,7 +53,7 @@ public:
*
* @since 0.4
**/
- KNutInstComms(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const upsNet, TQWidget* tqparent = 0, const char* name = 0, bool const modal = TRUE);
+ KNutInstComms(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const upsNet, TQWidget* parent = 0, const char* name = 0, bool const modal = TRUE);
/**
* Destruktor
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp
index 0ab214f..55e379a 100644
--- a/src/knutmainwindow.cpp
+++ b/src/knutmainwindow.cpp
@@ -60,7 +60,7 @@ const char *descrOfConnection = I18N_NOOP("test of conection from 5");
-KNutMainWindow::KNutMainWindow(TQStringList *tListKNutEvent, KNutVarData::upsInfoDef* tActiveUpsInfo, KNutVarData::SettingDataDef* tSettingData, KNutUpsData* tUpsRecords, KNutVarData* tAnalogRecords, TQWidget* tqparent, const char *name) : KMainWindow(tqparent, name),
+KNutMainWindow::KNutMainWindow(TQStringList *tListKNutEvent, KNutVarData::upsInfoDef* tActiveUpsInfo, KNutVarData::SettingDataDef* tSettingData, KNutUpsData* tUpsRecords, KNutVarData* tAnalogRecords, TQWidget* parent, const char *name) : KMainWindow(parent, name),
m_listKNutEvent(tListKNutEvent), m_activeUpsInfo(tActiveUpsInfo),m_settingData (tSettingData),
m_upsRecords(tUpsRecords), m_analogRecords (tAnalogRecords) {
diff --git a/src/knutmainwindow.h b/src/knutmainwindow.h
index 48ab3a6..1714010 100644
--- a/src/knutmainwindow.h
+++ b/src/knutmainwindow.h
@@ -79,7 +79,7 @@ class KNutMainWindow : public KMainWindow {
*
* @since 0.3.1
**/
- KNutMainWindow(TQStringList* tListKNutEvent, KNutVarData::upsInfoDef* tActiveUpsInfo, KNutVarData::SettingDataDef* tSettingData, KNutUpsData* tUpsRecords, KNutVarData* tAnalogRecords, TQWidget* tqparent=0,const char *name=0);
+ KNutMainWindow(TQStringList* tListKNutEvent, KNutVarData::upsInfoDef* tActiveUpsInfo, KNutVarData::SettingDataDef* tSettingData, KNutUpsData* tUpsRecords, KNutVarData* tAnalogRecords, TQWidget* parent=0,const char *name=0);
/**
* Destructor
diff --git a/src/knutmessage.cpp b/src/knutmessage.cpp
index b5d5e2a..1c69e82 100644
--- a/src/knutmessage.cpp
+++ b/src/knutmessage.cpp
@@ -26,7 +26,7 @@
#include <tqtimer.h>
-KNutMessage::KNutMessage(const TQString messageText, const typeOfMessage type, const long int timeValidity, TQWidget *tqparent, const char *name) : KDialogBase(Plain, "Messages",Ok,Ok, tqparent, name, false, false) {
+KNutMessage::KNutMessage(const TQString messageText, const typeOfMessage type, const long int timeValidity, TQWidget *parent, const char *name) : KDialogBase(Plain, "Messages",Ok,Ok, parent, name, false, false) {
setCaption("KNutClient");
diff --git a/src/knutmessage.h b/src/knutmessage.h
index a4a2511..0c537c7 100644
--- a/src/knutmessage.h
+++ b/src/knutmessage.h
@@ -64,7 +64,7 @@ enum typeOfMessage {
* @param timeValidity maximalni doba zobrazeni okna, je-li rovna nule je neomezena.
* @since 0.2
*/
- KNutMessage(const TQString messageText, const typeOfMessage type=infoMess, const long int timeValidity=0, TQWidget *tqparent=0, const char *name=0);
+ KNutMessage(const TQString messageText, const typeOfMessage type=infoMess, const long int timeValidity=0, TQWidget *parent=0, const char *name=0);
/**
* Destruktor.
diff --git a/src/knutmessagemanager.cpp b/src/knutmessagemanager.cpp
index 6a39d03..dfe7b5e 100644
--- a/src/knutmessagemanager.cpp
+++ b/src/knutmessagemanager.cpp
@@ -18,7 +18,7 @@
#include "knutmessagemanager.h"
#include <tqstring.h>
-KNutMessageManager::KNutMessageManager( TQObject *tqparent, const char *name) : TQObject (tqparent, name) {
+KNutMessageManager::KNutMessageManager( TQObject *parent, const char *name) : TQObject (parent, name) {
//qDebug("KNutMessageManager::KNutMessageManager");
diff --git a/src/knutmessagemanager.h b/src/knutmessagemanager.h
index 6434b69..9d581ae 100644
--- a/src/knutmessagemanager.h
+++ b/src/knutmessagemanager.h
@@ -57,7 +57,7 @@ class KNutMessageManager : public TQObject {
*
* @since 0.1
*/
- KNutMessageManager( TQObject *tqparent=0, const char *name=0);
+ KNutMessageManager( TQObject *parent=0, const char *name=0);
/**
* Destruktor.
diff --git a/src/knutnewupsdlg.cpp b/src/knutnewupsdlg.cpp
index 49cff4b..52d2192 100644
--- a/src/knutnewupsdlg.cpp
+++ b/src/knutnewupsdlg.cpp
@@ -35,8 +35,8 @@
-KNutNewUpsDlg::KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add, TQWidget* tqparent, const char* name, const bool modal)
- : KDialogBase(Plain, i18n("New Ups"),Help|Ok|Cancel,Ok, tqparent, name, modal, true ), addMember(add), m_myUpsData(upsData) {
+KNutNewUpsDlg::KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add, TQWidget* parent, const char* name, const bool modal)
+ : KDialogBase(Plain, i18n("New Ups"),Help|Ok|Cancel,Ok, parent, name, modal, true ), addMember(add), m_myUpsData(upsData) {
setName( "KupsNewUpsDlg" );
diff --git a/src/knutnewupsdlg.h b/src/knutnewupsdlg.h
index 2322f1b..174cdd9 100644
--- a/src/knutnewupsdlg.h
+++ b/src/knutnewupsdlg.h
@@ -67,7 +67,7 @@ public:
*
* @since 0.7
**/
- KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add = TRUE, TQWidget* tqparent = 0, const char* name = 0, const bool modal = TRUE);
+ KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add = TRUE, TQWidget* parent = 0, const char* name = 0, const bool modal = TRUE);
/**
* @since 0.3
diff --git a/src/knutpanelmeter.cpp b/src/knutpanelmeter.cpp
index 1c0acb8..60a6c52 100644
--- a/src/knutpanelmeter.cpp
+++ b/src/knutpanelmeter.cpp
@@ -35,7 +35,7 @@ extern const char *nameUpsVars1[];
extern const char *nameUpsVars2[];
-KNutPanelMeter::KNutPanelMeter(TQPalette aPanelPalette, KNutVarData::upsInfoDef* activeUpsInfo, KNutVarData::SettingDataDef* settingData, KNutVarData* analogRecords, TQWidget *tqparent, const char *name ) : TQScrollView(tqparent,name,TQt::WResizeNoErase|TQt::WStaticContents) {
+KNutPanelMeter::KNutPanelMeter(TQPalette aPanelPalette, KNutVarData::upsInfoDef* activeUpsInfo, KNutVarData::SettingDataDef* settingData, KNutVarData* analogRecords, TQWidget *parent, const char *name ) : TQScrollView(parent,name,TQt::WResizeNoErase|TQt::WStaticContents) {
m_settingData = settingData;
m_activeUpsInfo = activeUpsInfo;
diff --git a/src/knutpanelmeter.h b/src/knutpanelmeter.h
index 8fa668d..d46c781 100644
--- a/src/knutpanelmeter.h
+++ b/src/knutpanelmeter.h
@@ -47,7 +47,7 @@ public:
*
* @since 0.2
**/
- KNutPanelMeter(TQPalette aPanelPalette, KNutVarData::upsInfoDef* activeUpsInfo, KNutVarData::SettingDataDef* settingData, KNutVarData* analogRecords, TQWidget *tqparent=0, const char *name=0);
+ KNutPanelMeter(TQPalette aPanelPalette, KNutVarData::upsInfoDef* activeUpsInfo, KNutVarData::SettingDataDef* settingData, KNutVarData* analogRecords, TQWidget *parent=0, const char *name=0);
/**
* Destruktor
diff --git a/src/knutprefdlg.cpp b/src/knutprefdlg.cpp
index 2e6d936..e440380 100644
--- a/src/knutprefdlg.cpp
+++ b/src/knutprefdlg.cpp
@@ -41,8 +41,8 @@
KNutPrefDlg::KNutPrefDlg(KNutUpsData* const upsData, KNutVarData* const analogData, KNutVarData::SettingDataDef* const settingData,
- const TQString upsName, TQWidget* tqparent, const char* name, const bool modal)
- :KDialogBase(IconList, i18n("Preferences"),Help|Default|Apply|Ok|Cancel,Ok, tqparent, name, modal, true),
+ const TQString upsName, TQWidget* parent, const char* name, const bool modal)
+ :KDialogBase(IconList, i18n("Preferences"),Help|Default|Apply|Ok|Cancel,Ok, parent, name, modal, true),
m_activeUpsName (upsName), m_myUpsData(upsData), m_myAnalogData(analogData), m_settingData(settingData) {
setName( "UpsMemberDlg" );
diff --git a/src/knutprefdlg.h b/src/knutprefdlg.h
index f26f863..88b9508 100644
--- a/src/knutprefdlg.h
+++ b/src/knutprefdlg.h
@@ -115,7 +115,7 @@ enum changePref {
*
* @since 0.5
**/
- KNutPrefDlg(KNutUpsData* const upsData, KNutVarData* const analogData, KNutVarData::SettingDataDef* const settingData, const TQString upsName, TQWidget* tqparent = 0, const char* name = 0, const bool modal = true);
+ KNutPrefDlg(KNutUpsData* const upsData, KNutVarData* const analogData, KNutVarData::SettingDataDef* const settingData, const TQString upsName, TQWidget* parent = 0, const char* name = 0, const bool modal = true);
/**
* @since 0.3
diff --git a/src/knutprintupsvar.cpp b/src/knutprintupsvar.cpp
index 36e5a92..ba4bf50 100644
--- a/src/knutprintupsvar.cpp
+++ b/src/knutprintupsvar.cpp
@@ -37,8 +37,8 @@
// od verze 0.6.0 nebudeme vytvaret vlastni spojeni
-KNutPrintUpsVar::KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* tqparent, const char* name, const bool modal )
-: KDialogBase(Plain, i18n("Variables"),User1|Cancel,Ok, tqparent, name, modal, true), myUpsNet(upsNet){
+KNutPrintUpsVar::KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* parent, const char* name, const bool modal )
+: KDialogBase(Plain, i18n("Variables"),User1|Cancel,Ok, parent, name, modal, true), myUpsNet(upsNet){
upsVarDef upsVar;
upsICommDef upsIComm;
diff --git a/src/knutprintupsvar.h b/src/knutprintupsvar.h
index 72c0eac..404d330 100755
--- a/src/knutprintupsvar.h
+++ b/src/knutprintupsvar.h
@@ -71,7 +71,7 @@ public:
*
* since 0.3.1
**/
- KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* tqparent = 0, const char* name = 0, const bool modal = true);
+ KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* parent = 0, const char* name = 0, const bool modal = true);
/**
* @since 0.1
diff --git a/src/knutrwvar.cpp b/src/knutrwvar.cpp
index 3c13400..3d904eb 100755
--- a/src/knutrwvar.cpp
+++ b/src/knutrwvar.cpp
@@ -36,8 +36,8 @@
//#include <iostream>
-KNutRWVar::KNutRWVar(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const initUpsNet, TQWidget* tqparent, const char* name, const bool modal)
-: KDialogBase(Plain, i18n("RW variables"),Ok|Cancel|Default,Ok, tqparent, name, modal, true), m_upsNet(initUpsNet){
+KNutRWVar::KNutRWVar(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const initUpsNet, TQWidget* parent, const char* name, const bool modal)
+: KDialogBase(Plain, i18n("RW variables"),Ok|Cancel|Default,Ok, parent, name, modal, true), m_upsNet(initUpsNet){
upsVarDef upsVar;
// int error;
diff --git a/src/knutrwvar.h b/src/knutrwvar.h
index 1fb0bad..3224148 100755
--- a/src/knutrwvar.h
+++ b/src/knutrwvar.h
@@ -56,7 +56,7 @@ class KNutRWVar : public KDialogBase {
* @param initUpsNet Je odkaz na instanci tridy KNutNet.
* @since 0.2
**/
- KNutRWVar(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const initUpsNet, TQWidget* tqparent = 0, const char* name = 0, const bool modal = TRUE);
+ KNutRWVar(TQString* userName, TQString* userPassword, const TQString uName, const TQString password, KNutNet* const initUpsNet, TQWidget* parent = 0, const char* name = 0, const bool modal = TRUE);
/**
* Destructor