rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 6224b01d20
commit 4fc248b5ba

@ -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 ) 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( 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) { : 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) { if ( qualityOfPointer==0) {

@ -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 * @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 * @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 * Destruktor

@ -47,7 +47,7 @@
extern const char *nameUpsVars1[]; extern const char *nameUpsVars1[];
extern const char *nameUpsVars2[]; 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(); upsRecords = new KNutUpsData();
analogRecords = new KNutVarData(); analogRecords = new KNutVarData();

@ -47,7 +47,7 @@ class KNutClient : public TQObject, public KSessionManaged {
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
KNutClient(bool noDock = false, TQObject* tqparent=0,const char* name=0); KNutClient(bool noDock = false, TQObject* parent=0,const char* name=0);
~KNutClient(); ~KNutClient();
private slots: private slots:

@ -37,7 +37,7 @@
#include <math.h> #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_myPalette = TQPalette(*paletteIn); // makes deep copy of palette
m_upsOkColor = TQt::green; m_upsOkColor = TQt::green;

@ -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. * @param panelFonts Odkaz na fonts ktery se ma pouzit pro vykreslovani, pokud je = 0 (nula) pouzije se systemovy font pri aplikaci.
* @since 0.8 * @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 * Destruktor

@ -29,8 +29,8 @@
#include <tqstring.h> #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) 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, tqparent, name, modal, true), m_upsNet(upsNet),m_oldUserName(userName), m_oldUserPassword(userPassword) { : KDialogBase(Plain, i18n("Instant commands"),Ok|Cancel,Ok, parent, name, modal, true), m_upsNet(upsNet),m_oldUserName(userName), m_oldUserPassword(userPassword) {
upsICommDef upsIComm; upsICommDef upsIComm;

@ -53,7 +53,7 @@ public:
* *
* @since 0.4 * @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 * Destruktor

@ -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_listKNutEvent(tListKNutEvent), m_activeUpsInfo(tActiveUpsInfo),m_settingData (tSettingData),
m_upsRecords(tUpsRecords), m_analogRecords (tAnalogRecords) { m_upsRecords(tUpsRecords), m_analogRecords (tAnalogRecords) {

@ -79,7 +79,7 @@ class KNutMainWindow : public KMainWindow {
* *
* @since 0.3.1 * @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 * Destructor

@ -26,7 +26,7 @@
#include <tqtimer.h> #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"); setCaption("KNutClient");

@ -64,7 +64,7 @@ enum typeOfMessage {
* @param timeValidity maximalni doba zobrazeni okna, je-li rovna nule je neomezena. * @param timeValidity maximalni doba zobrazeni okna, je-li rovna nule je neomezena.
* @since 0.2 * @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. * Destruktor.

@ -18,7 +18,7 @@
#include "knutmessagemanager.h" #include "knutmessagemanager.h"
#include <tqstring.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"); //qDebug("KNutMessageManager::KNutMessageManager");

@ -57,7 +57,7 @@ class KNutMessageManager : public TQObject {
* *
* @since 0.1 * @since 0.1
*/ */
KNutMessageManager( TQObject *tqparent=0, const char *name=0); KNutMessageManager( TQObject *parent=0, const char *name=0);
/** /**
* Destruktor. * Destruktor.

@ -35,8 +35,8 @@
KNutNewUpsDlg::KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const analogData, const bool add, TQWidget* tqparent, const char* name, const bool modal) 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, tqparent, name, modal, true ), addMember(add), m_myUpsData(upsData) { : KDialogBase(Plain, i18n("New Ups"),Help|Ok|Cancel,Ok, parent, name, modal, true ), addMember(add), m_myUpsData(upsData) {
setName( "KupsNewUpsDlg" ); setName( "KupsNewUpsDlg" );

@ -67,7 +67,7 @@ public:
* *
* @since 0.7 * @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 * @since 0.3

@ -35,7 +35,7 @@ extern const char *nameUpsVars1[];
extern const char *nameUpsVars2[]; 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_settingData = settingData;
m_activeUpsInfo = activeUpsInfo; m_activeUpsInfo = activeUpsInfo;

@ -47,7 +47,7 @@ public:
* *
* @since 0.2 * @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 * Destruktor

@ -41,8 +41,8 @@
KNutPrefDlg::KNutPrefDlg(KNutUpsData* const upsData, KNutVarData* const analogData, KNutVarData::SettingDataDef* const settingData, KNutPrefDlg::KNutPrefDlg(KNutUpsData* const upsData, KNutVarData* const analogData, KNutVarData::SettingDataDef* const settingData,
const TQString upsName, TQWidget* tqparent, const char* name, const bool modal) const TQString upsName, TQWidget* parent, const char* name, const bool modal)
:KDialogBase(IconList, i18n("Preferences"),Help|Default|Apply|Ok|Cancel,Ok, tqparent, name, modal, true), :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) { m_activeUpsName (upsName), m_myUpsData(upsData), m_myAnalogData(analogData), m_settingData(settingData) {
setName( "UpsMemberDlg" ); setName( "UpsMemberDlg" );

@ -115,7 +115,7 @@ enum changePref {
* *
* @since 0.5 * @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 * @since 0.3

@ -37,8 +37,8 @@
// od verze 0.6.0 nebudeme vytvaret vlastni spojeni // 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 ) KNutPrintUpsVar::KNutPrintUpsVar(KNutNet* const upsNet, const bool useDescription, TQWidget* parent, const char* name, const bool modal )
: KDialogBase(Plain, i18n("Variables"),User1|Cancel,Ok, tqparent, name, modal, true), myUpsNet(upsNet){ : KDialogBase(Plain, i18n("Variables"),User1|Cancel,Ok, parent, name, modal, true), myUpsNet(upsNet){
upsVarDef upsVar; upsVarDef upsVar;
upsICommDef upsIComm; upsICommDef upsIComm;

@ -71,7 +71,7 @@ public:
* *
* since 0.3.1 * 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 * @since 0.1

@ -36,8 +36,8 @@
//#include <iostream> //#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) 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, tqparent, name, modal, true), m_upsNet(initUpsNet){ : KDialogBase(Plain, i18n("RW variables"),Ok|Cancel|Default,Ok, parent, name, modal, true), m_upsNet(initUpsNet){
upsVarDef upsVar; upsVarDef upsVar;
// int error; // int error;

@ -56,7 +56,7 @@ class KNutRWVar : public KDialogBase {
* @param initUpsNet Je odkaz na instanci tridy KNutNet. * @param initUpsNet Je odkaz na instanci tridy KNutNet.
* @since 0.2 * @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 * Destructor

Loading…
Cancel
Save