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 . */
blacklistEditDialog::blacklistEditDialog( TQStringList blacklisted, TQString captionName,
bool initImport, TQWidget *tqparent, const char *name)
:blacklistedit_Dialog(tqparent, name, false, WDestructiveClose )
bool initImport, TQWidget *parent, const char *name)
:blacklistedit_Dialog(parent, name, false, WDestructiveClose )
{
blacklist = blacklisted;

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

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

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

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

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

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

@ -55,7 +55,7 @@ class detaileddialog: public detailed_Dialog {
public:
//! 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
~detaileddialog();

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

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

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

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

@ -150,7 +150,7 @@ static Window find_xscreensaver_window(Display * dpy) {
kdDebugFuncIn(trace);
Window root = RootWindowOfScreen(DefaultScreenOfDisplay(dpy));
Window root2, tqparent, *kids;
Window root2, parent, *kids;
Window retval = 0;
Atom xs_version;
unsigned int i;
@ -158,7 +158,7 @@ static Window find_xscreensaver_window(Display * dpy) {
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)) {
kdDebugFuncOut(trace);
return 0;

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

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

Loading…
Cancel
Save