rename the following methods:

tqparent parent
tqmask mask


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

@ -25,7 +25,7 @@
#include <knuminput.h> #include <knuminput.h>
#include <kdebug.h> #include <kdebug.h>
AddBackupWizard::AddBackupWizard(TQWidget *tqparent,const char* name): KWizard( tqparent, name, true) AddBackupWizard::AddBackupWizard(TQWidget *parent,const char* name): KWizard( parent, name, true)
{ {
initView(); initView();
resize( tqminimumSizeHint() ); resize( tqminimumSizeHint() );
@ -39,7 +39,7 @@ AddBackupWizard::AddBackupWizard(TQWidget *tqparent,const char* name): KWizard(
initConnections(); initConnections();
} }
AddBackupWizard::AddBackupWizard(Backup backup,TQWidget *tqparent,const char* name): KWizard( tqparent, name, true) AddBackupWizard::AddBackupWizard(Backup backup,TQWidget *parent,const char* name): KWizard( parent, name, true)
{ {
initView(); initView();

@ -34,8 +34,8 @@ class AddBackupWizard: public KWizard
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
AddBackupWizard(TQWidget *tqparent, const char *name); AddBackupWizard(TQWidget *parent, const char *name);
AddBackupWizard(Backup backup,TQWidget *tqparent, const char *name); AddBackupWizard(Backup backup,TQWidget *parent, const char *name);
Backup backup(); Backup backup();

@ -31,8 +31,8 @@
#include <tqstringlist.h> #include <tqstringlist.h>
#include <kactionselector.h> #include <kactionselector.h>
AdvancedBackupConfigDialog::AdvancedBackupConfigDialog(TQWidget *tqparent):KDialogBase(Plain, i18n("Advanced Backup Configuration"), AdvancedBackupConfigDialog::AdvancedBackupConfigDialog(TQWidget *parent):KDialogBase(Plain, i18n("Advanced Backup Configuration"),
Help|Ok, Ok, tqparent, "advancedBackupConfigDialog", true, false) Help|Ok, Ok, parent, "advancedBackupConfigDialog", true, false)
{ {
TQGridLayout *topLayout = new TQGridLayout(plainPage()); TQGridLayout *topLayout = new TQGridLayout(plainPage());
m_advancedBackupConfigView = new AdvancedBackupConfigView(plainPage()); m_advancedBackupConfigView = new AdvancedBackupConfigView(plainPage());

@ -29,7 +29,7 @@ Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
AdvancedBackupConfigDialog(TQWidget *tqparent); AdvancedBackupConfigDialog(TQWidget *parent);
~AdvancedBackupConfigDialog() {}; ~AdvancedBackupConfigDialog() {};
TQStringList optionList(); TQStringList optionList();

@ -40,8 +40,8 @@
#include "backupconfig.h" #include "backupconfig.h"
BackupConfigDialog::BackupConfigDialog(TQWidget *tqparent):KDialogBase(Plain, i18n("Configure backups"), BackupConfigDialog::BackupConfigDialog(TQWidget *parent):KDialogBase(Plain, i18n("Configure backups"),
Help|Cancel|Ok, Cancel, tqparent, "configBackups", true, false) Help|Cancel|Ok, Cancel, parent, "configBackups", true, false)
{ {
KIconLoader *icons = KGlobal::iconLoader(); KIconLoader *icons = KGlobal::iconLoader();

@ -30,7 +30,7 @@ class BackupConfigDialog: public KDialogBase
TQ_OBJECT TQ_OBJECT
public: public:
BackupConfigDialog(TQWidget *tqparent); BackupConfigDialog(TQWidget *parent);
~BackupConfigDialog() {}; ~BackupConfigDialog() {};
public slots: public slots:

@ -29,7 +29,7 @@
#include "addbackupwizard.h" #include "addbackupwizard.h"
#include "backupconfig.h" #include "backupconfig.h"
BackupListWidget::BackupListWidget(TQWidget *tqparent,char *name): BackupListView(tqparent,name) BackupListWidget::BackupListWidget(TQWidget *parent,char *name): BackupListView(parent,name)
{ {
TQToolTip::remove(m_lstBackup); TQToolTip::remove(m_lstBackup);
new ListViewToolTip(m_lstBackup); new ListViewToolTip(m_lstBackup);

@ -27,7 +27,7 @@ class BackupListWidget: public BackupListView
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
BackupListWidget(TQWidget *tqparent, char *name); BackupListWidget(TQWidget *parent, char *name);
~BackupListWidget(); ~BackupListWidget();
public slots: public slots:

@ -42,8 +42,8 @@
#include "backupconfig.h" #include "backupconfig.h"
#include "backuplistviewitem.h" #include "backuplistviewitem.h"
ForceBackupDialog::ForceBackupDialog(TQWidget *tqparent):KDialogBase(Plain, i18n("Backup now"), ForceBackupDialog::ForceBackupDialog(TQWidget *parent):KDialogBase(Plain, i18n("Backup now"),
Help|Cancel|Ok, Cancel, tqparent, "forceBackupDialog", true, false) Help|Cancel|Ok, Cancel, parent, "forceBackupDialog", true, false)
{ {
TQGridLayout* toptqlayout = new TQGridLayout(plainPage()); TQGridLayout* toptqlayout = new TQGridLayout(plainPage());
m_view = new ForceBackupDialogView(plainPage()); m_view = new ForceBackupDialogView(plainPage());

@ -32,7 +32,7 @@ class ForceBackupDialog: public KDialogBase
TQ_OBJECT TQ_OBJECT
public: public:
ForceBackupDialog(TQWidget *tqparent); ForceBackupDialog(TQWidget *parent);
~ForceBackupDialog(); ~ForceBackupDialog();
public slots: public slots:

@ -36,8 +36,8 @@
#include "includeexcludeitem.h" #include "includeexcludeitem.h"
IncludeExcludeDialog::IncludeExcludeDialog(TQWidget *tqparent):KDialogBase(Plain, i18n("Inclusion/Exclusion Configuration"), IncludeExcludeDialog::IncludeExcludeDialog(TQWidget *parent):KDialogBase(Plain, i18n("Inclusion/Exclusion Configuration"),
Help|Ok, Ok, tqparent, "includeExcludeDialog", true, false) Help|Ok, Ok, parent, "includeExcludeDialog", true, false)
{ {
TQGridLayout *topLayout = new TQGridLayout(plainPage()); TQGridLayout *topLayout = new TQGridLayout(plainPage());
m_view = new IncludeExcludeView(plainPage()); m_view = new IncludeExcludeView(plainPage());

@ -30,7 +30,7 @@ Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
IncludeExcludeDialog(TQWidget *tqparent); IncludeExcludeDialog(TQWidget *parent);
~IncludeExcludeDialog() {}; ~IncludeExcludeDialog() {};
TQStringList includeExcludeList(); TQStringList includeExcludeList();

@ -44,7 +44,7 @@
#include "keepsettings.h" #include "keepsettings.h"
#include "logdialog.h" #include "logdialog.h"
KeepMainWindow::KeepMainWindow(TQWidget *tqparent, const char *name): KMainWindow(tqparent,name) KeepMainWindow::KeepMainWindow(TQWidget *parent, const char *name): KMainWindow(parent,name)
{ {
setCaption(i18n("Backup System")); setCaption(i18n("Backup System"));

@ -31,7 +31,7 @@ class KeepMainWindow: public KMainWindow
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
KeepMainWindow(TQWidget *tqparent, const char *name); KeepMainWindow(TQWidget *parent, const char *name);
~KeepMainWindow(); ~KeepMainWindow();
public slots: public slots:

@ -39,8 +39,8 @@
#include "logview.h" #include "logview.h"
LogDialog::LogDialog(TQWidget *tqparent): KDialogBase(Plain, i18n("View log"), LogDialog::LogDialog(TQWidget *parent): KDialogBase(Plain, i18n("View log"),
Help|Ok, Cancel, tqparent, "logDialog", true, false) Help|Ok, Cancel, parent, "logDialog", true, false)
{ {
m_logFilePath = locateLocal( "data", "keep/keep.log", true ); m_logFilePath = locateLocal( "data", "keep/keep.log", true );

@ -29,7 +29,7 @@ Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
LogDialog(TQWidget *tqparent); LogDialog(TQWidget *parent);
~LogDialog() {}; ~LogDialog() {};
public slots: public slots:

@ -37,7 +37,7 @@
#include "listviewtooltip.h" #include "listviewtooltip.h"
#include "incrementlistviewitem.h" #include "incrementlistviewitem.h"
RestoreBackupWizard::RestoreBackupWizard(TQWidget *tqparent,const char* name): KWizard( tqparent, name, true) RestoreBackupWizard::RestoreBackupWizard(TQWidget *parent,const char* name): KWizard( parent, name, true)
{ {
m_manager = new RDBManager(); m_manager = new RDBManager();
connect( m_manager, TQT_SIGNAL(backupError(Backup,TQString)), this, TQT_SLOT(slotRestoreError(Backup,TQString)) ); connect( m_manager, TQT_SIGNAL(backupError(Backup,TQString)), this, TQT_SLOT(slotRestoreError(Backup,TQString)) );

@ -34,7 +34,7 @@ class RestoreBackupWizard: public KWizard
Q_OBJECT Q_OBJECT
TQ_OBJECT TQ_OBJECT
public: public:
RestoreBackupWizard(TQWidget *tqparent, const char *name); RestoreBackupWizard(TQWidget *parent, const char *name);
~RestoreBackupWizard(); ~RestoreBackupWizard();
Backup backup(); Backup backup();

@ -22,7 +22,7 @@
#include <tqdir.h> #include <tqdir.h>
#include <klistview.h> #include <klistview.h>
BackupListViewItem::BackupListViewItem(KListView *tqparent,Backup &backup): TQListViewItem (tqparent) BackupListViewItem::BackupListViewItem(KListView *parent,Backup &backup): TQListViewItem (parent)
{ {
setBackup(backup); setBackup(backup);
} }

@ -26,7 +26,7 @@
class BackupListViewItem : public TQListViewItem class BackupListViewItem : public TQListViewItem
{ {
public: public:
BackupListViewItem(KListView *tqparent,Backup &backup); BackupListViewItem(KListView *parent,Backup &backup);
~BackupListViewItem(); ~BackupListViewItem();
Backup backup(); Backup backup();

@ -22,12 +22,12 @@
#include <tqdir.h> #include <tqdir.h>
#include <klistview.h> #include <klistview.h>
IncludeExcludeItem::IncludeExcludeItem(KListView *tqparent,TQString includeExclude): TQListViewItem (tqparent) IncludeExcludeItem::IncludeExcludeItem(KListView *parent,TQString includeExclude): TQListViewItem (parent)
{ {
setIncludeExclude(includeExclude); setIncludeExclude(includeExclude);
} }
IncludeExcludeItem::IncludeExcludeItem(KListView *tqparent,IncludeExcludeItem *item,TQString includeExclude): TQListViewItem (tqparent,item) IncludeExcludeItem::IncludeExcludeItem(KListView *parent,IncludeExcludeItem *item,TQString includeExclude): TQListViewItem (parent,item)
{ {
setIncludeExclude(includeExclude); setIncludeExclude(includeExclude);
} }

@ -26,8 +26,8 @@
class IncludeExcludeItem : public TQListViewItem class IncludeExcludeItem : public TQListViewItem
{ {
public: public:
IncludeExcludeItem(KListView *tqparent,TQString includeExclude); IncludeExcludeItem(KListView *parent,TQString includeExclude);
IncludeExcludeItem(KListView *tqparent,IncludeExcludeItem *item,TQString includeExclude); IncludeExcludeItem(KListView *parent,IncludeExcludeItem *item,TQString includeExclude);
~IncludeExcludeItem(); ~IncludeExcludeItem();
TQString includeExclude(); TQString includeExclude();

@ -22,12 +22,12 @@
#include <tqdir.h> #include <tqdir.h>
#include <klistview.h> #include <klistview.h>
IncrementListViewItem::IncrementListViewItem(KListView *tqparent,TQDateTime date): TQListViewItem (tqparent) IncrementListViewItem::IncrementListViewItem(KListView *parent,TQDateTime date): TQListViewItem (parent)
{ {
setDate(date); setDate(date);
} }
IncrementListViewItem::IncrementListViewItem(KListView *tqparent,TQListViewItem *item,TQDateTime date): TQListViewItem (tqparent,item) IncrementListViewItem::IncrementListViewItem(KListView *parent,TQListViewItem *item,TQDateTime date): TQListViewItem (parent,item)
{ {
setDate(date); setDate(date);
} }

@ -26,8 +26,8 @@
class IncrementListViewItem : public TQListViewItem class IncrementListViewItem : public TQListViewItem
{ {
public: public:
IncrementListViewItem(KListView *tqparent, TQDateTime date); IncrementListViewItem(KListView *parent, TQDateTime date);
IncrementListViewItem(KListView *tqparent, TQListViewItem *item,TQDateTime date); IncrementListViewItem(KListView *parent, TQListViewItem *item,TQDateTime date);
~IncrementListViewItem(); ~IncrementListViewItem();
TQDateTime date(); TQDateTime date();

@ -30,7 +30,7 @@
class ListViewToolTip : public TQToolTip class ListViewToolTip : public TQToolTip
{ {
public: public:
ListViewToolTip(TQListView* tqparent); ListViewToolTip(TQListView* parent);
protected: protected:
void maybeTip( const TQPoint& p ); void maybeTip( const TQPoint& p );
@ -39,7 +39,7 @@ private:
TQListView* listView; TQListView* listView;
}; };
inline ListViewToolTip::ListViewToolTip( TQListView* tqparent ): TQToolTip( tqparent->viewport() ), listView( tqparent ) {} inline ListViewToolTip::ListViewToolTip( TQListView* parent ): TQToolTip( parent->viewport() ), listView( parent ) {}
inline void ListViewToolTip::maybeTip( const TQPoint& p ) { inline void ListViewToolTip::maybeTip( const TQPoint& p ) {
if ( !listView ) if ( !listView )

Loading…
Cancel
Save