rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
pull/1/head
tpearson 13 years ago
parent fe9b5d95c9
commit 65fafc8645

@ -44,8 +44,8 @@
/*! This is the default constructor of class blacklistEditDialog . */ /*! This is the default constructor of class blacklistEditDialog . */
blacklistEditDialog::blacklistEditDialog( TQStringList blacklisted, TQString captionName, blacklistEditDialog::blacklistEditDialog( TQStringList blacklisted, TQString captionName,
bool initImport, TQWidget *tqparent, const char *name) bool initImport, TQWidget *parent, const char *name)
:blacklistedit_Dialog(tqparent, name, false, WDestructiveClose ) :blacklistedit_Dialog(parent, name, false, WDestructiveClose )
{ {
blacklist = blacklisted; blacklist = blacklisted;

@ -43,7 +43,7 @@ public:
//! default constructor //! default constructor
blacklistEditDialog(TQStringList blacklisted, TQString captionName, bool initImport = false, blacklistEditDialog(TQStringList blacklisted, TQString captionName, bool initImport = false,
TQWidget *tqparent = 0, const char *name = 0); TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~blacklistEditDialog(); ~blacklistEditDialog();

@ -55,8 +55,8 @@
/*! This is the default constructor of the class ConfigureDialog. */ /*! This is the default constructor of the class ConfigureDialog. */
ConfigureDialog::ConfigureDialog( KConfig *_config, HardwareInfo *_hwinfo, Settings *_settings, ConfigureDialog::ConfigureDialog( KConfig *_config, HardwareInfo *_hwinfo, Settings *_settings,
TQWidget *tqparent, const char *name) TQWidget *parent, const char *name)
:configure_Dialog(tqparent, name, false, WDestructiveClose ) :configure_Dialog(parent, name, false, WDestructiveClose )
{ {
kdDebugFuncIn(trace); kdDebugFuncIn(trace);

@ -47,7 +47,7 @@ class ConfigureDialog: public configure_Dialog {
public: public:
//! default constructor //! default constructor
ConfigureDialog( KConfig *_config, HardwareInfo *_hwinfo, Settings *_settings, ConfigureDialog( KConfig *_config, HardwareInfo *_hwinfo, Settings *_settings,
TQWidget *tqparent = 0, const char *name = 0); TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~ConfigureDialog(); ~ConfigureDialog();

@ -41,8 +41,8 @@
#include <tqtimer.h> #include <tqtimer.h>
/*! This is the default constructor of class countDownDialog . */ /*! This is the default constructor of class countDownDialog . */
countDownDialog::countDownDialog( int timeout, TQWidget *tqparent, const char *name) countDownDialog::countDownDialog( int timeout, TQWidget *parent, const char *name)
:countdown_Dialog(tqparent, name, false, TQt::WStyle_StaysOnTop | TQt::WDestructiveClose ) :countdown_Dialog(parent, name, false, TQt::WStyle_StaysOnTop | TQt::WDestructiveClose )
{ {
kdDebugFuncIn(trace); kdDebugFuncIn(trace);
chancel = false; chancel = false;

@ -41,7 +41,7 @@ class countDownDialog: public countdown_Dialog {
public: public:
//! default constructor //! default constructor
countDownDialog(int timeout, TQWidget *tqparent = 0, const char *name = 0); countDownDialog(int timeout, TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~countDownDialog(); ~countDownDialog();

@ -46,8 +46,8 @@
* This is the default constructor of the class detaileddialog. * This is the default constructor of the class detaileddialog.
*/ */
detaileddialog::detaileddialog( HardwareInfo *_hwinfo, TQPixmap *_pixmap, Settings *_set, detaileddialog::detaileddialog( HardwareInfo *_hwinfo, TQPixmap *_pixmap, Settings *_set,
TQWidget* tqparent, const char* name ) TQWidget* parent, const char* name )
: detailed_Dialog( tqparent, name, false, WDestructiveClose ) { : detailed_Dialog( parent, name, false, WDestructiveClose ) {
kdDebugFuncIn(trace); kdDebugFuncIn(trace);
hwinfo = _hwinfo; hwinfo = _hwinfo;
config = _set; config = _set;

@ -55,7 +55,7 @@ class detaileddialog: public detailed_Dialog {
public: public:
//! default constructor //! default constructor
detaileddialog(HardwareInfo *_hwinfo, TQPixmap *_pixmap, Settings *_set, TQWidget *tqparent = 0, const char *name = 0); detaileddialog(HardwareInfo *_hwinfo, TQPixmap *_pixmap, Settings *_set, TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~detaileddialog(); ~detaileddialog();

@ -43,8 +43,8 @@
/*! This is the default constructor of class infoDialog . */ /*! This is the default constructor of class infoDialog . */
infoDialog::infoDialog( KConfig *config, TQString captionName, TQString message, infoDialog::infoDialog( KConfig *config, TQString captionName, TQString message,
TQString dontShowAgainMsg, TQString settingsEntryName, TQString dontShowAgainMsg, TQString settingsEntryName,
TQWidget *tqparent, const char *name) TQWidget *parent, const char *name)
:info_Dialog( tqparent, name, false, TQt::WStyle_StaysOnTop | WDestructiveClose ) :info_Dialog( parent, name, false, TQt::WStyle_StaysOnTop | WDestructiveClose )
{ {
if ( message.isEmpty() || (!dontShowAgainMsg.isEmpty() && settingsEntryName.isEmpty()) || if ( message.isEmpty() || (!dontShowAgainMsg.isEmpty() && settingsEntryName.isEmpty()) ||
(!dontShowAgainMsg.isEmpty() && (config == 0))) (!dontShowAgainMsg.isEmpty() && (config == 0)))

@ -45,7 +45,7 @@ public:
//! default constructor //! default constructor
infoDialog( KConfig *config = 0, TQString captionName = TQString(), TQString message = TQString(), infoDialog( KConfig *config = 0, TQString captionName = TQString(), TQString message = TQString(),
TQString dontShowAgainMsg = TQString(), TQString settingsEntryName = TQString(), TQString dontShowAgainMsg = TQString(), TQString settingsEntryName = TQString(),
TQWidget *tqparent = 0, const char *name = 0); TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~infoDialog(); ~infoDialog();

@ -38,8 +38,8 @@
#include "logviewer.h" #include "logviewer.h"
/*! This is the default constructor of the class LogViewer. */ /*! This is the default constructor of the class LogViewer. */
LogViewer::LogViewer( TQString filename, TQWidget *tqparent, const char *name) LogViewer::LogViewer( TQString filename, TQWidget *parent, const char *name)
:log_viewer(tqparent, name, false, WDestructiveClose ) { :log_viewer(parent, name, false, WDestructiveClose ) {
this->setCaption(i18n("KPowersave Logfile Viewer: %1").tqarg(filename)); this->setCaption(i18n("KPowersave Logfile Viewer: %1").tqarg(filename));

@ -42,7 +42,7 @@ class LogViewer: public log_viewer {
public: public:
//! default constructor //! default constructor
LogViewer( TQString filename, TQWidget *tqparent = 0, const char *name = 0); LogViewer( TQString filename, TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~LogViewer(); ~LogViewer();

@ -150,7 +150,7 @@ static Window find_xscreensaver_window(Display * dpy) {
kdDebugFuncIn(trace); kdDebugFuncIn(trace);
Window root = RootWindowOfScreen(DefaultScreenOfDisplay(dpy)); Window root = RootWindowOfScreen(DefaultScreenOfDisplay(dpy));
Window root2, tqparent, *kids; Window root2, parent, *kids;
Window retval = 0; Window retval = 0;
Atom xs_version; Atom xs_version;
unsigned int i; unsigned int i;
@ -158,7 +158,7 @@ static Window find_xscreensaver_window(Display * dpy) {
xs_version = XInternAtom(dpy, "_SCREENSAVER_VERSION", True); xs_version = XInternAtom(dpy, "_SCREENSAVER_VERSION", True);
if (!(xs_version != None && XQueryTree(dpy, root, &root2, &tqparent, &kids, &nkids) if (!(xs_version != None && XQueryTree(dpy, root, &root2, &parent, &kids, &nkids)
&& kids && nkids)) { && kids && nkids)) {
kdDebugFuncOut(trace); kdDebugFuncOut(trace);
return 0; return 0;

@ -38,8 +38,8 @@
#include "suspenddialog.h" #include "suspenddialog.h"
/*! This is the default constructor of the class. */ /*! This is the default constructor of the class. */
suspendDialog::suspendDialog(TQWidget *tqparent, const char *name) suspendDialog::suspendDialog(TQWidget *parent, const char *name)
:suspend_Dialog(tqparent, name, true, TQt::WStyle_StaysOnTop | TQt::WDestructiveClose ) :suspend_Dialog(parent, name, true, TQt::WStyle_StaysOnTop | TQt::WDestructiveClose )
{ {
this->setIcon(SmallIcon("kpowersave", TQIconSet::Automatic)); this->setIcon(SmallIcon("kpowersave", TQIconSet::Automatic));
} }

@ -41,7 +41,7 @@ class suspendDialog: public suspend_Dialog {
public: public:
//! default constructor //! default constructor
suspendDialog(TQWidget *tqparent = 0, const char *name = 0); suspendDialog(TQWidget *parent = 0, const char *name = 0);
//! default destructor //! default destructor
~suspendDialog(); ~suspendDialog();

Loading…
Cancel
Save