summaryrefslogtreecommitdiffstats
path: root/lilo-config/kde-qt-common
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit93910780efc46524d0f2c6693784b3fa10d26985 (patch)
treee44cc42ad795bb8399c6558bf8af3887c966fd49 /lilo-config/kde-qt-common
parent4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (diff)
downloadtdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.tar.gz
tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lilo-config/kde-qt-common')
-rw-r--r--lilo-config/kde-qt-common/EditWidget.cpp2
-rw-r--r--lilo-config/kde-qt-common/EditWidget.h2
-rw-r--r--lilo-config/kde-qt-common/expert.cpp2
-rw-r--r--lilo-config/kde-qt-common/expert.h2
-rw-r--r--lilo-config/kde-qt-common/general.cpp2
-rw-r--r--lilo-config/kde-qt-common/general.h2
-rw-r--r--lilo-config/kde-qt-common/images.cpp2
-rw-r--r--lilo-config/kde-qt-common/images.h2
-rw-r--r--lilo-config/kde-qt-common/mainwidget.cpp4
-rw-r--r--lilo-config/kde-qt-common/mainwidget.h2
-rw-r--r--lilo-config/kde-qt-common/ui.h32
11 files changed, 27 insertions, 27 deletions
diff --git a/lilo-config/kde-qt-common/EditWidget.cpp b/lilo-config/kde-qt-common/EditWidget.cpp
index e80cd19..3c80d2a 100644
--- a/lilo-config/kde-qt-common/EditWidget.cpp
+++ b/lilo-config/kde-qt-common/EditWidget.cpp
@@ -28,7 +28,7 @@
*/
#include "EditWidget.moc"
#include "ui.h"
-EditWidget::EditWidget(TQString const label, TQString const text, bool isFile, TQWidget *tqparent, const char *name, WFlags f, bool allowLines):TQHBox(allowLines, tqparent, name, f)
+EditWidget::EditWidget(TQString const label, TQString const text, bool isFile, TQWidget *parent, const char *name, WFlags f, bool allowLines):TQHBox(allowLines, parent, name, f)
{
setMargin(SPACE_MARGIN);
setSpacing(SPACE_INSIDE);
diff --git a/lilo-config/kde-qt-common/EditWidget.h b/lilo-config/kde-qt-common/EditWidget.h
index 0c0c97d..e0901f9 100644
--- a/lilo-config/kde-qt-common/EditWidget.h
+++ b/lilo-config/kde-qt-common/EditWidget.h
@@ -37,7 +37,7 @@ class EditWidget:public TQHBox
Q_OBJECT
TQ_OBJECT
public:
- EditWidget(TQString const label="", TQString const text="", bool isFile=false, TQWidget *tqparent=0, const char *name=0, WFlags f=0, bool allowLines=true);
+ EditWidget(TQString const label="", TQString const text="", bool isFile=false, TQWidget *parent=0, const char *name=0, WFlags f=0, bool allowLines=true);
void setLabel(TQString const &label) { lbl->setText(label); };
TQString text() const { return line->text(); };
TQString displayText() const { return line->displayText(); };
diff --git a/lilo-config/kde-qt-common/expert.cpp b/lilo-config/kde-qt-common/expert.cpp
index d9e65e5..7140fd9 100644
--- a/lilo-config/kde-qt-common/expert.cpp
+++ b/lilo-config/kde-qt-common/expert.cpp
@@ -31,7 +31,7 @@
#include <tqwhatsthis.h>
#include <String.h>
#include <strstream>
-Expert::Expert(liloconf *l, TQWidget *tqparent, const char *name):TQWidget(tqparent, name)
+Expert::Expert(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, name)
{
lilo=l;
tqlayout=new TQHBoxLayout(this);
diff --git a/lilo-config/kde-qt-common/expert.h b/lilo-config/kde-qt-common/expert.h
index 7b39530..c2971a1 100644
--- a/lilo-config/kde-qt-common/expert.h
+++ b/lilo-config/kde-qt-common/expert.h
@@ -37,7 +37,7 @@ class Expert:public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- Expert(liloconf *l=0, TQWidget *tqparent=0, const char *name=0);
+ Expert(liloconf *l=0, TQWidget *parent=0, const char *name=0);
~Expert();
void setCfg(liloconf *l) { lilo=l; };
void makeReadOnly();
diff --git a/lilo-config/kde-qt-common/general.cpp b/lilo-config/kde-qt-common/general.cpp
index bdfd12f..e67dc1f 100644
--- a/lilo-config/kde-qt-common/general.cpp
+++ b/lilo-config/kde-qt-common/general.cpp
@@ -35,7 +35,7 @@
#include <stdlib.h>
-General::General(liloconf *l, TQWidget *tqparent, const char *name):TQWidget(tqparent, name)
+General::General(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, name)
{
lilo=l;
TQVBoxLayout *tqlayout=new TQVBoxLayout(this);
diff --git a/lilo-config/kde-qt-common/general.h b/lilo-config/kde-qt-common/general.h
index 01d090b..074adda 100644
--- a/lilo-config/kde-qt-common/general.h
+++ b/lilo-config/kde-qt-common/general.h
@@ -38,7 +38,7 @@ class General:public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- General(liloconf *l=0, TQWidget *tqparent=0, const char *name=0);
+ General(liloconf *l=0, TQWidget *parent=0, const char *name=0);
void makeReadOnly();
signals:
void configChanged();
diff --git a/lilo-config/kde-qt-common/images.cpp b/lilo-config/kde-qt-common/images.cpp
index a4872c0..a0f1c37 100644
--- a/lilo-config/kde-qt-common/images.cpp
+++ b/lilo-config/kde-qt-common/images.cpp
@@ -40,7 +40,7 @@
#include "tqt/Details.h"
#endif
-Images::Images(liloconf *l, TQWidget *tqparent, const char *name):TQWidget(tqparent, name)
+Images::Images(liloconf *l, TQWidget *parent, const char *name):TQWidget(parent, name)
{
current=""; previous=""; // Using TQString() gives problems!
lilo=l;
diff --git a/lilo-config/kde-qt-common/images.h b/lilo-config/kde-qt-common/images.h
index 8e8060d..898b95b 100644
--- a/lilo-config/kde-qt-common/images.h
+++ b/lilo-config/kde-qt-common/images.h
@@ -41,7 +41,7 @@ class Images:public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- Images(liloconf *l=0, TQWidget *tqparent=0, const char *name=0);
+ Images(liloconf *l=0, TQWidget *parent=0, const char *name=0);
~Images();
void setCfg(liloconf *l) { lilo=l; };
void makeReadOnly();
diff --git a/lilo-config/kde-qt-common/mainwidget.cpp b/lilo-config/kde-qt-common/mainwidget.cpp
index 7ea74a1..bb966f2 100644
--- a/lilo-config/kde-qt-common/mainwidget.cpp
+++ b/lilo-config/kde-qt-common/mainwidget.cpp
@@ -29,8 +29,8 @@
#include "mainwidget.moc"
#include "ui.h"
-MainWidget::MainWidget(TQWidget *tqparent, const char *name)
- : TQTabWidget(tqparent, name)
+MainWidget::MainWidget(TQWidget *parent, const char *name)
+ : TQTabWidget(parent, name)
{
l=new liloconf();
general=new General(l, this);
diff --git a/lilo-config/kde-qt-common/mainwidget.h b/lilo-config/kde-qt-common/mainwidget.h
index 28cc37d..1eb022b 100644
--- a/lilo-config/kde-qt-common/mainwidget.h
+++ b/lilo-config/kde-qt-common/mainwidget.h
@@ -40,7 +40,7 @@ class MainWidget: public TQTabWidget {
Q_OBJECT
TQ_OBJECT
public:
- MainWidget(TQWidget *tqparent, const char *name=0);
+ MainWidget(TQWidget *parent, const char *name=0);
void arrangeWidgets();
void makeReadOnly();
public slots:
diff --git a/lilo-config/kde-qt-common/ui.h b/lilo-config/kde-qt-common/ui.h
index 9df62ae..6f65124 100644
--- a/lilo-config/kde-qt-common/ui.h
+++ b/lilo-config/kde-qt-common/ui.h
@@ -39,14 +39,14 @@
#include <kdialog.h>
#include <kfiledialog.h>
#define _(x) i18n(x)
-#define WarningYesNo(tqparent, caption, text) \
- KMessageBox::warningYesNo(tqparent, text, caption)
-#define ErrorOK(tqparent, caption, text) \
- KMessageBox::sorry(tqparent, text, caption)
-#define InformationOK(tqparent, text, caption, dontShowAgainName) \
- KMessageBox::information(tqparent, text, caption, dontShowAgainName)
-#define CriticalErrorOK(tqparent, text, caption) \
- KMessageBox::error(tqparent, text, caption)
+#define WarningYesNo(parent, caption, text) \
+ KMessageBox::warningYesNo(parent, text, caption)
+#define ErrorOK(parent, caption, text) \
+ KMessageBox::sorry(parent, text, caption)
+#define InformationOK(parent, text, caption, dontShowAgainName) \
+ KMessageBox::information(parent, text, caption, dontShowAgainName)
+#define CriticalErrorOK(parent, text, caption) \
+ KMessageBox::error(parent, text, caption)
#define TabBar KTabCtl
#define FileDlg KFileDialog
#define SPACE_MARGIN KDialog::marginHint()
@@ -57,14 +57,14 @@
#include <tqdialog.h>
#include <tqfiledialog.h>
#define _(x) tr(x)
-#define WarningYesNo(tqparent, caption, text) \
- TQMessageBox::warning(tqparent, caption, text, TQMessageBox::Yes, TQMessageBox::No)
-#define ErrorOK(tqparent, caption, text) \
- TQMessageBox::information(tqparent, caption, text)
-#define InformationOK(tqparent, text, caption, dontShowAgainName) \
- TQMessageBox::information(tqparent, caption, text)
-#define CriticalErrorOK(tqparent, text, caption) \
- TQMessageBox::critical(tqparent, caption, text)
+#define WarningYesNo(parent, caption, text) \
+ TQMessageBox::warning(parent, caption, text, TQMessageBox::Yes, TQMessageBox::No)
+#define ErrorOK(parent, caption, text) \
+ TQMessageBox::information(parent, caption, text)
+#define InformationOK(parent, text, caption, dontShowAgainName) \
+ TQMessageBox::information(parent, caption, text)
+#define CriticalErrorOK(parent, text, caption) \
+ TQMessageBox::critical(parent, caption, text)
#define TabBar TQTabWidget
#define FileDlg TQFileDialog
#define SPACE_MARGIN 5