Browse Source

rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tags/v3.5.13
tpearson 7 years ago
parent
commit
e7366c97c9
100 changed files with 214 additions and 214 deletions
  1. 2
    2
      kamera/kcontrol/kamera.cpp
  2. 1
    1
      kamera/kcontrol/kamera.h
  3. 14
    14
      kamera/kcontrol/kameraconfigdialog.cpp
  4. 2
    2
      kamera/kcontrol/kameraconfigdialog.h
  5. 2
    2
      kamera/kcontrol/kameradevice.cpp
  6. 1
    1
      kamera/kcontrol/kameradevice.h
  7. 1
    1
      kamera/kioslave/kamera.cpp
  8. 1
    1
      kcoloredit/colorselector.cpp
  9. 1
    1
      kcoloredit/colorselector.h
  10. 1
    1
      kcoloredit/gradientselection.cpp
  11. 1
    1
      kcoloredit/gradientselection.h
  12. 1
    1
      kcoloredit/imageselection.cpp
  13. 1
    1
      kcoloredit/imageselection.h
  14. 3
    3
      kcoloredit/kcoloreditdoc.cpp
  15. 1
    1
      kcoloredit/kcoloreditdoc.h
  16. 1
    1
      kcoloredit/kcoloreditview.cpp
  17. 2
    2
      kcoloredit/kcoloreditview.h
  18. 1
    1
      kcoloredit/kxycolorselector.cpp
  19. 1
    1
      kcoloredit/kxycolorselector.h
  20. 2
    2
      kcoloredit/kzcolorselector.cpp
  21. 1
    1
      kcoloredit/kzcolorselector.h
  22. 2
    2
      kcoloredit/loadpalettedlg.cpp
  23. 1
    1
      kcoloredit/loadpalettedlg.h
  24. 2
    2
      kcoloredit/paletteview.cpp
  25. 2
    2
      kcoloredit/paletteview.h
  26. 2
    2
      kcoloredit/paletteviewscrolledarea.cpp
  27. 1
    1
      kcoloredit/paletteviewscrolledarea.h
  28. 1
    1
      kcoloredit/texteditselection.cpp
  29. 1
    1
      kcoloredit/texteditselection.h
  30. 1
    1
      kcoloredit/textselection.cpp
  31. 2
    2
      kdvi/TeXFont.h
  32. 20
    20
      kdvi/TeXFont_PFB.cpp
  33. 1
    1
      kdvi/TeXFont_PFB.h
  34. 15
    15
      kdvi/TeXFont_PK.cpp
  35. 1
    1
      kdvi/TeXFont_PK.h
  36. 9
    9
      kdvi/TeXFont_TFM.cpp
  37. 1
    1
      kdvi/TeXFont_TFM.h
  38. 1
    1
      kdvi/dviRenderer.cpp
  39. 1
    1
      kdvi/dviRenderer.h
  40. 3
    3
      kdvi/dviWidget.cpp
  41. 1
    1
      kdvi/dviWidget.h
  42. 3
    3
      kdvi/fontprogress.cpp
  43. 1
    1
      kdvi/fontprogress.h
  44. 2
    2
      kdvi/infodialog.cpp
  45. 1
    1
      kdvi/infodialog.h
  46. 3
    3
      kdvi/kdvi_multipage.cpp
  47. 1
    1
      kdvi/kdvi_multipage.h
  48. 3
    3
      kdvi/optionDialogFontsWidget.cpp
  49. 1
    1
      kdvi/optionDialogFontsWidget.h
  50. 3
    3
      kdvi/optionDialogSpecialWidget.cpp
  51. 1
    1
      kdvi/optionDialogSpecialWidget.h
  52. 3
    3
      kdvi/psheader.txt
  53. 1
    1
      kfax/kfax.h
  54. 2
    2
      kfax/kfax_printsettings.cpp
  55. 1
    1
      kfax/kfax_printsettings.h
  56. 2
    2
      kfax/options.cpp
  57. 1
    1
      kfax/options.h
  58. 2
    2
      kfaxview/faxmultipage.cpp
  59. 1
    1
      kfaxview/faxmultipage.h
  60. 1
    1
      kfaxview/faxrenderer.cpp
  61. 1
    1
      kfaxview/faxrenderer.h
  62. 2
    2
      kfaxview/libkfaximage/kfaximage.cpp
  63. 1
    1
      kfaxview/libkfaximage/kfaximage.h
  64. 2
    2
      kfile-plugins/bmp/kfile_bmp.cpp
  65. 1
    1
      kfile-plugins/bmp/kfile_bmp.h
  66. 10
    10
      kfile-plugins/dds/kfile_dds.cpp
  67. 1
    1
      kfile-plugins/dds/kfile_dds.h
  68. 2
    2
      kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
  69. 1
    1
      kfile-plugins/dependencies/poppler-tqt/poppler-private.h
  70. 2
    2
      kfile-plugins/dvi/kfile_dvi.cpp
  71. 1
    1
      kfile-plugins/dvi/kfile_dvi.h
  72. 2
    2
      kfile-plugins/exr/kfile_exr.cpp
  73. 1
    1
      kfile-plugins/exr/kfile_exr.h
  74. 2
    2
      kfile-plugins/gif/kfile_gif.cpp
  75. 1
    1
      kfile-plugins/gif/kfile_gif.h
  76. 2
    2
      kfile-plugins/ico/kfile_ico.cpp
  77. 1
    1
      kfile-plugins/ico/kfile_ico.h
  78. 4
    4
      kfile-plugins/jpeg/kfile_jpeg.cpp
  79. 2
    2
      kfile-plugins/jpeg/kfile_jpeg.h
  80. 2
    2
      kfile-plugins/pcx/kfile_pcx.cpp
  81. 1
    1
      kfile-plugins/pcx/kfile_pcx.h
  82. 2
    2
      kfile-plugins/pdf/kfile_pdf.cpp
  83. 1
    1
      kfile-plugins/pdf/kfile_pdf.h
  84. 2
    2
      kfile-plugins/png/kfile_png.cpp
  85. 1
    1
      kfile-plugins/png/kfile_png.h
  86. 1
    1
      kfile-plugins/pnm/kfile_pnm.cpp
  87. 1
    1
      kfile-plugins/pnm/kfile_pnm.h
  88. 2
    2
      kfile-plugins/ps/kfile_ps.cpp
  89. 1
    1
      kfile-plugins/ps/kfile_ps.h
  90. 2
    2
      kfile-plugins/raw/kcamerarawplugin.cpp
  91. 1
    1
      kfile-plugins/raw/kcamerarawplugin.h
  92. 4
    4
      kfile-plugins/rgb/kfile_rgb.cpp
  93. 2
    2
      kfile-plugins/rgb/kfile_rgb.h
  94. 2
    2
      kfile-plugins/tga/kfile_tga.cpp
  95. 1
    1
      kfile-plugins/tga/kfile_tga.h
  96. 3
    3
      kfile-plugins/tiff/kfile_tiff.cpp
  97. 1
    1
      kfile-plugins/tiff/kfile_tiff.h
  98. 2
    2
      kfile-plugins/xbm/kfile_xbm.cpp
  99. 1
    1
      kfile-plugins/xbm/kfile_xbm.h
  100. 0
    0
      kfile-plugins/xpm/kfile_xpm.cpp

+ 2
- 2
kamera/kcontrol/kamera.cpp View File

@@ -48,8 +48,8 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kamera, KKameraConfigFactory( "kcmkamera" ) )
48 48
 
49 49
 KKameraConfig *KKameraConfig::m_instance = NULL;
50 50
 
51
-KKameraConfig::KKameraConfig(TQWidget *tqparent, const char *name, const TQStringList &)
52
-	: KCModule(KKameraConfigFactory::instance(), tqparent, name)
51
+KKameraConfig::KKameraConfig(TQWidget *parent, const char *name, const TQStringList &)
52
+	: KCModule(KKameraConfigFactory::instance(), parent, name)
53 53
 {
54 54
 	m_devicePopup = new KPopupMenu(this);
55 55
 	m_actions = new KActionCollection(this);

+ 1
- 1
kamera/kcontrol/kamera.h View File

@@ -51,7 +51,7 @@ class KKameraConfig : public KCModule
51 51
 	friend class KameraDeviceSelectDialog;
52 52
 
53 53
 public:
54
-	KKameraConfig(TQWidget *tqparent, const char *name, const TQStringList &);
54
+	KKameraConfig(TQWidget *parent, const char *name, const TQStringList &);
55 55
 	virtual ~KKameraConfig();
56 56
 
57 57
 	// KCModule interface methods

+ 14
- 14
kamera/kcontrol/kameraconfigdialog.cpp View File

@@ -42,9 +42,9 @@
42 42
 
43 43
 KameraConfigDialog::KameraConfigDialog(Camera */*camera*/,
44 44
 					CameraWidget *widget,
45
-					TQWidget *tqparent,
45
+					TQWidget *parent,
46 46
 					const char *name) :
47
-KDialogBase(tqparent, name, true, TQString(), Ok|Cancel, Ok ),
47
+KDialogBase(parent, name, true, TQString(), Ok|Cancel, Ok ),
48 48
 m_widgetRoot(widget)
49 49
 {
50 50
     TQFrame *main = makeMainWidget();
@@ -56,9 +56,9 @@ m_widgetRoot(widget)
56 56
 	appendWidget(main, widget);
57 57
 }
58 58
 
59
-void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
59
+void KameraConfigDialog::appendWidget(TQWidget *parent, CameraWidget *widget)
60 60
 {
61
-	TQWidget *newParent = tqparent;
61
+	TQWidget *newParent = parent;
62 62
 	
63 63
 	CameraWidgetType widget_type;
64 64
 	const char *widget_name;
@@ -74,7 +74,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
74 74
 	
75 75
 	TQString whats_this = TQString::fromLocal8Bit(widget_info);	// gphoto2 doesn't seem to have any standard for i18n
76 76
 
77
-	// Add this widget to tqparent
77
+	// Add this widget to parent
78 78
 	switch(widget_type) {
79 79
 	case GP_WIDGET_WINDOW:
80 80
 		{
@@ -85,7 +85,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
85 85
 	case GP_WIDGET_SECTION:
86 86
 		{
87 87
 			if (!m_tabWidget)
88
-				m_tabWidget = new TQTabWidget(tqparent);
88
+				m_tabWidget = new TQTabWidget(parent);
89 89
 			TQWidget *tab = new TQWidget(m_tabWidget);
90 90
 			// widgets are to be aligned vertically in the tab
91 91
 			TQVBoxLayout *tabLayout = new TQVBoxLayout(tab, marginHint(),
@@ -104,7 +104,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
104 104
 		{
105 105
 			gp_widget_get_value(widget, &widget_value_string);
106 106
 
107
-			TQGrid *grid = new TQGrid(2,Qt::Horizontal, tqparent);
107
+			TQGrid *grid = new TQGrid(2,Qt::Horizontal, parent);
108 108
 			grid->setSpacing(spacingHint());
109 109
 			new TQLabel(TQString::fromLocal8Bit( widget_label )+":", grid);
110 110
 			TQLineEdit *lineEdit = new TQLineEdit(widget_value_string, grid);
@@ -123,7 +123,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
123 123
 			gp_widget_get_range(widget, &widget_low, &widget_high, &widget_increment);
124 124
 			gp_widget_get_value(widget, &widget_value_float);
125 125
 	
126
-			TQGroupBox *groupBox = new TQVGroupBox(widget_label, tqparent);
126
+			TQGroupBox *groupBox = new TQVGroupBox(widget_label, parent);
127 127
 			TQSlider *slider = new TQSlider(
128 128
 				( int )widget_low,
129 129
 				( int )widget_high,
@@ -142,7 +142,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
142 142
 		{
143 143
 			gp_widget_get_value(widget, &widget_value_int);
144 144
 		
145
-			TQCheckBox *checkBox = new TQCheckBox(widget_label, tqparent);
145
+			TQCheckBox *checkBox = new TQCheckBox(widget_label, parent);
146 146
 			checkBox->setChecked(widget_value_int);
147 147
 			m_wmap.insert(widget, checkBox);
148 148
 
@@ -160,9 +160,9 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
160 160
 			// for less than 5 options, align them horizontally
161 161
 			TQButtonGroup *buttonGroup;
162 162
 			if (count > 4)
163
-				buttonGroup = new TQVButtonGroup(widget_label, tqparent);
163
+				buttonGroup = new TQVButtonGroup(widget_label, parent);
164 164
 			else
165
-				buttonGroup = new TQHButtonGroup(widget_label, tqparent);
165
+				buttonGroup = new TQHButtonGroup(widget_label, parent);
166 166
 			
167 167
 			for(int i = 0; i < count; ++i) {
168 168
 				const char *widget_choice;
@@ -183,7 +183,7 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
183 183
 		{
184 184
 			gp_widget_get_value(widget, &widget_value_string);
185 185
 	
186
-			TQComboBox *comboBox = new TQComboBox(FALSE, tqparent);
186
+			TQComboBox *comboBox = new TQComboBox(FALSE, parent);
187 187
 			comboBox->clear();
188 188
 			for(int i = 0; i < gp_widget_count_choices(widget); ++i) {
189 189
 				const char *widget_choice;
@@ -206,14 +206,14 @@ void KameraConfigDialog::appendWidget(TQWidget *tqparent, CameraWidget *widget)
206 206
 			// I can't see a way of implementing this. Since there is
207 207
 			// no way of telling which button sent you a signal, we
208 208
 			// can't map to the appropriate widget->callback
209
-			new TQLabel(i18n("Button (not supported by KControl)"), tqparent);
209
+			new TQLabel(i18n("Button (not supported by KControl)"), parent);
210 210
 	
211 211
 			break;
212 212
 		}
213 213
 	case GP_WIDGET_DATE:
214 214
 		{
215 215
 			// TODO
216
-			new TQLabel(i18n("Date (not supported by KControl)"), tqparent);
216
+			new TQLabel(i18n("Date (not supported by KControl)"), parent);
217 217
 
218 218
 			break;
219 219
 		}

+ 2
- 2
kamera/kcontrol/kameraconfigdialog.h View File

@@ -37,13 +37,13 @@ class KameraConfigDialog : public KDialogBase
37 37
   TQ_OBJECT
38 38
 public:
39 39
 	KameraConfigDialog(Camera *camera, CameraWidget *widget,
40
-			   TQWidget *tqparent = 0, const char *name = 0);
40
+			   TQWidget *parent = 0, const char *name = 0);
41 41
 
42 42
 private slots:
43 43
 	void slotOk();
44 44
 
45 45
 private:
46
-	void appendWidget(TQWidget *tqparent, CameraWidget *widget);
46
+	void appendWidget(TQWidget *parent, CameraWidget *widget);
47 47
 	void updateWidgetValue(CameraWidget *widget);
48 48
 	
49 49
 	TQMap<CameraWidget *, TQWidget *> m_wmap;

+ 2
- 2
kamera/kcontrol/kameradevice.cpp View File

@@ -270,8 +270,8 @@ CameraAbilities KCamera::abilities()
270 270
 
271 271
 // ---------- KameraSelectCamera ------------
272 272
 
273
-KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *tqparent, KCamera *device)
274
-	: KDialogBase(tqparent, "kkameradeviceselect", true, i18n("Select Camera Device"), Ok | Cancel, Ok, true)
273
+KameraDeviceSelectDialog::KameraDeviceSelectDialog(TQWidget *parent, KCamera *device)
274
+	: KDialogBase(parent, "kkameradeviceselect", true, i18n("Select Camera Device"), Ok | Cancel, Ok, true)
275 275
 {
276 276
 	m_device = device;
277 277
 	connect(m_device, TQT_SIGNAL(error(const TQString &)),

+ 1
- 1
kamera/kcontrol/kameradevice.h View File

@@ -91,7 +91,7 @@ class KameraDeviceSelectDialog : public KDialogBase
91 91
 	Q_OBJECT
92 92
   TQ_OBJECT
93 93
 public:
94
-	KameraDeviceSelectDialog(TQWidget *tqparent, KCamera *device);
94
+	KameraDeviceSelectDialog(TQWidget *parent, KCamera *device);
95 95
 	void save();
96 96
 	void load();
97 97
 protected slots:

+ 1
- 1
kamera/kioslave/kamera.cpp View File

@@ -890,7 +890,7 @@ void KameraProtocol::translateFileToUDS(UDSEntry &udsEntry, const CameraFileInfo
890 890
 		atom.m_long = 0;
891 891
 		atom.m_long |= (info.file.permissions & GP_FILE_PERM_READ) ? (S_IRUSR | S_IRGRP | S_IROTH) : 0;
892 892
 		// we cannot represent individual FP_FILE_PERM_DELETE permission in the Unix access scheme
893
-		// since the tqparent directory's write permission defines that
893
+		// since the parent directory's write permission defines that
894 894
 		udsEntry.append(atom);
895 895
 	} else {
896 896
 		// basic permissions, in case the camera doesn't provide permissions info

+ 1
- 1
kcoloredit/colorselector.cpp View File

@@ -30,7 +30,7 @@
30 30
 #include "texteditselection.h"
31 31
 #include "colorselector.h"
32 32
 
33
-ColorSelector::ColorSelector(TQWidget *tqparent, const char *name ) : TQWidget(tqparent, name) {
33
+ColorSelector::ColorSelector(TQWidget *parent, const char *name ) : TQWidget(parent, name) {
34 34
 	fComponentsMode = false;
35 35
 	TQVBoxLayout* topLayout = new TQVBoxLayout(this, 4);
36 36
 	/*

+ 1
- 1
kcoloredit/colorselector.h View File

@@ -35,7 +35,7 @@ class ColorSelector : public TQWidget  {
35 35
 
36 36
 public:
37 37
 	/** constructs a color selector widget */
38
-	ColorSelector(TQWidget *tqparent=0, const char *name=0);
38
+	ColorSelector(TQWidget *parent=0, const char *name=0);
39 39
 	~ColorSelector();
40 40
 	/** @return the selected color */
41 41
 	const Color& color();

+ 1
- 1
kcoloredit/gradientselection.cpp View File

@@ -24,7 +24,7 @@
24 24
 #include "main.h"
25 25
 #include "gradientselection.h"
26 26
 
27
-GradientSelection::GradientSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
27
+GradientSelection::GradientSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
28 28
 	TQGridLayout* topLayout = new TQGridLayout(this, 2, 2, 0);
29 29
 	TQHBoxLayout* tqlayout = new TQHBoxLayout(0);
30 30
 	tqlayout->setMargin(3);

+ 1
- 1
kcoloredit/gradientselection.h View File

@@ -36,7 +36,7 @@ class GradientSelection : public TQWidget  {
36 36
 
37 37
 public:
38 38
 	/** Constructs the widget */
39
-	GradientSelection(TQWidget *tqparent=0, const char *name=0);
39
+	GradientSelection(TQWidget *parent=0, const char *name=0);
40 40
 	~GradientSelection();
41 41
 	/** Enables or disables the color synchronize button */
42 42
 	void enableSynchronizeColorButton(bool enable);

+ 1
- 1
kcoloredit/imageselection.cpp View File

@@ -17,7 +17,7 @@
17 17
 
18 18
 #include "imageselection.h"
19 19
 
20
-ImageSelection::ImageSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
20
+ImageSelection::ImageSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
21 21
 }
22 22
 ImageSelection::~ImageSelection(){
23 23
 }

+ 1
- 1
kcoloredit/imageselection.h View File

@@ -31,7 +31,7 @@ class ImageSelection : public TQWidget  {
31 31
 
32 32
 public:
33 33
 	/** constructs the widget */
34
-	ImageSelection(TQWidget *tqparent=0, const char *name=0);
34
+	ImageSelection(TQWidget *parent=0, const char *name=0);
35 35
 	~ImageSelection();
36 36
 	
37 37
 signals:

+ 3
- 3
kcoloredit/kcoloreditdoc.cpp View File

@@ -31,7 +31,7 @@
31 31
 #include "kcoloreditview.h"
32 32
 #include "resource.h"
33 33
 
34
-KColorEditDoc::KColorEditDoc(TQWidget *tqparent, const char *name) : TQObject(tqparent, name),
34
+KColorEditDoc::KColorEditDoc(TQWidget *parent, const char *name) : TQObject(parent, name),
35 35
 	m_palette(), m_paletteHistory(&m_palette, 0) {
36 36
 	m_pViewList = new TQPtrList<KColorEditView>();
37 37
 	m_pViewList->setAutoDelete(true);
@@ -106,7 +106,7 @@ bool KColorEditDoc::saveModified()
106 106
 
107 107
   if(m_modified)
108 108
   {
109
-    KColorEditApp *window=(KColorEditApp *) tqparent();
109
+    KColorEditApp *window=(KColorEditApp *) parent();
110 110
     int want_save = KMessageBox::warningYesNoCancel(window,
111 111
                                          i18n("The current file has been modified.\n"
112 112
                                               "Do you want to save it?"), TQString(), KStdGuiItem::save(), i18n("Do Not Save"));
@@ -175,7 +175,7 @@ bool KColorEditDoc::openDocument(const TQString& filename) {
175 175
 		setPaletteCursorPos(m_palette.length());
176 176
 		setPaletteSelection(0, 0);
177 177
 		slotRedrawAllViews(0, true);
178
-        KColorEditApp *window=(KColorEditApp*)tqparent();
178
+        KColorEditApp *window=(KColorEditApp*)parent();
179 179
         window->setCaption(m_title);
180 180
 	}
181 181
 	return true;

+ 1
- 1
kcoloredit/kcoloreditdoc.h View File

@@ -51,7 +51,7 @@ class KColorEditDoc : public TQObject
51 51
 
52 52
   public:
53 53
     /** Constructor for the fileclass of the application */
54
-    KColorEditDoc(TQWidget *tqparent, const char *name=0);
54
+    KColorEditDoc(TQWidget *parent, const char *name=0);
55 55
     /** Destructor for the fileclass of the application */
56 56
     ~KColorEditDoc();
57 57
 

+ 1
- 1
kcoloredit/kcoloreditview.cpp View File

@@ -35,7 +35,7 @@
35 35
 #include "kcoloredit.h"
36 36
 #include "palette.h"
37 37
 
38
-KColorEditView::KColorEditView(TQWidget *tqparent, const char *name) : TQSplitter(tqparent, name) {
38
+KColorEditView::KColorEditView(TQWidget *parent, const char *name) : TQSplitter(parent, name) {
39 39
 	colorSelector = new ColorSelector(this);
40 40
 	colorSelector->slotSetColor(
41 41
 		Color( RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE, RGB_MAX_COMPONENT_VALUE, "" ));

+ 2
- 2
kcoloredit/kcoloreditview.h View File

@@ -47,11 +47,11 @@ class KColorEditView : public TQSplitter {
47 47
 
48 48
   public:
49 49
     /** Constructor for the main view */
50
-    KColorEditView(TQWidget *tqparent = 0, const char *name = 0);
50
+    KColorEditView(TQWidget *parent = 0, const char *name = 0);
51 51
     /** Destructor for the main view */
52 52
     ~KColorEditView();
53 53
 
54
-    /** returns a pointer to the document connected to the view instance. Mind that this method requires a KColorEditApp instance as a tqparent
54
+    /** returns a pointer to the document connected to the view instance. Mind that this method requires a KColorEditApp instance as a parent
55 55
      * widget to get to the window document pointer by calling the KColorEditApp::getDocument() method.
56 56
      *
57 57
      * @see KColorEditApp#getDocument

+ 1
- 1
kcoloredit/kxycolorselector.cpp View File

@@ -23,7 +23,7 @@
23 23
 
24 24
 #include "kxycolorselector.h"
25 25
 
26
-KXYColorSelector::KXYColorSelector(TQWidget *tqparent, const char *name) : KXYSelector(tqparent,name) {
26
+KXYColorSelector::KXYColorSelector(TQWidget *parent, const char *name) : KXYSelector(parent,name) {
27 27
 	setBackgroundMode(NoBackground);
28 28
 	setRange(0, 0, COMPONENT_SELECTION_RESOLUTION - 1, COMPONENT_SELECTION_RESOLUTION - 1);
29 29
 	setType(TYPE_NONE);

+ 1
- 1
kcoloredit/kxycolorselector.h View File

@@ -47,7 +47,7 @@ public:
47 47
 	/** Constructs a two-dimensional color component selector widget,
48 48
 	 *  with a type TYPE_NONE and ranges 0 .. MAX_COLOR_COMPONENT_VALUE
49 49
 	 */
50
-	KXYColorSelector(TQWidget *tqparent=0, const char *name=0);
50
+	KXYColorSelector(TQWidget *parent=0, const char *name=0);
51 51
 	~KXYColorSelector();
52 52
 	/** Set the type of the selector */
53 53
 	void setType(const int type);

+ 2
- 2
kcoloredit/kzcolorselector.cpp View File

@@ -23,8 +23,8 @@
23 23
 #include "main.h"
24 24
 #include "kzcolorselector.h"
25 25
 
26
-KZColorSelector::KZColorSelector(Qt::Orientation o, TQWidget *tqparent, const char *name) :
27
-	KSelector(o, tqparent, name) {
26
+KZColorSelector::KZColorSelector(Qt::Orientation o, TQWidget *parent, const char *name) :
27
+	KSelector(o, parent, name) {
28 28
 	baseColorH = -1;
29 29
 	baseColorS = 0;
30 30
 	baseColorV = 0;

+ 1
- 1
kcoloredit/kzcolorselector.h View File

@@ -38,7 +38,7 @@ public:
38 38
 	       TYPE_V = 2 };
39 39
 
40 40
 	/** Constructs the widget */
41
-	KZColorSelector(Qt::Orientation o, TQWidget *tqparent=0, const char *name=0);
41
+	KZColorSelector(Qt::Orientation o, TQWidget *parent=0, const char *name=0);
42 42
 	~KZColorSelector();
43 43
 	/** Sets the selector type */
44 44
 	void setType(const int type);

+ 2
- 2
kcoloredit/loadpalettedlg.cpp View File

@@ -31,8 +31,8 @@
31 31
 #include "palette.h"
32 32
 #include "loadpalettedlg.h"
33 33
 
34
-LoadPaletteDlg::LoadPaletteDlg(TQWidget *tqparent, const char *name) 
35
-        : KDialogBase(tqparent, name, true, i18n( "Load Palette" ), 
34
+LoadPaletteDlg::LoadPaletteDlg(TQWidget *parent, const char *name) 
35
+        : KDialogBase(parent, name, true, i18n( "Load Palette" ), 
36 36
           Ok|Cancel, Ok, true) {
37 37
 	fileName = "";
38 38
     TQWidget *mainWidget = new TQWidget( this );

+ 1
- 1
kcoloredit/loadpalettedlg.h View File

@@ -32,7 +32,7 @@ class LoadPaletteDlg : public KDialogBase  {
32 32
 public:
33 33
 	/** constructs the dialog
34 34
 	 */
35
-	LoadPaletteDlg(TQWidget *tqparent = 0, const char *name = 0);
35
+	LoadPaletteDlg(TQWidget *parent = 0, const char *name = 0);
36 36
 	~LoadPaletteDlg();
37 37
 	/** @return the fetched file name
38 38
 	 */

+ 2
- 2
kcoloredit/paletteview.cpp View File

@@ -21,8 +21,8 @@
21 21
 #include "paletteview.h"
22 22
 
23 23
 PaletteView::PaletteView(const int defaultCellWidth, const int defaultCellHeight, const int cellSpacing,
24
-	KColorEditView* view, TQWidget *tqparent, const char *name) :
25
-	TQFrame(tqparent, name, TQWidget::WResizeNoErase*0) {
24
+	KColorEditView* view, TQWidget *parent, const char *name) :
25
+	TQFrame(parent, name, TQWidget::WResizeNoErase*0) {
26 26
 	setFrameStyle(StyledPanel|Sunken);
27 27
 	setLineWidth(2);
28 28
 	TQGridLayout* topLayout = new TQGridLayout(this, 2, 2);

+ 2
- 2
kcoloredit/paletteview.h View File

@@ -26,7 +26,7 @@
26 26
 class KColorEditView;
27 27
 
28 28
 /** This is a Palette class view widget.
29
-  * Its tqparent is KColorEditView
29
+  * Its parent is KColorEditView
30 30
   * @author Artur Rataj
31 31
   */
32 32
 class PaletteView : public TQFrame {
@@ -38,7 +38,7 @@ public:
38 38
 	 *  The effective cell sizes may be adjusted to fit the widget sizes.
39 39
 	 */
40 40
 	PaletteView(const int defaultCellWidth, const int defaultCellHeight, const int cellSpacing,
41
-			KColorEditView* view, TQWidget *tqparent = 0, const char *name=0);
41
+			KColorEditView* view, TQWidget *parent = 0, const char *name=0);
42 42
 	~PaletteView();
43 43
 	/** Calls redraw() in scrolledArea */
44 44
 	void redraw();

+ 2
- 2
kcoloredit/paletteviewscrolledarea.cpp View File

@@ -38,8 +38,8 @@
38 38
 
39 39
 PaletteViewScrolledArea::PaletteViewScrolledArea(const int defaultCellWidth,
40 40
 	const int defaultCellHeight, const int cellSpacing, TQScrollBar* scrollBar,
41
-	TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* tqparent, const char* name)
42
-	: TQFrame(tqparent, name) {
41
+	TQScrollBar* hScrollBar, KColorEditView* view, TQWidget* parent, const char* name)
42
+	: TQFrame(parent, name) {
43 43
 	this->defaultCellWidth = defaultCellWidth;
44 44
 	this->defaultCellHeight = defaultCellHeight;
45 45
 	this->cellSpacing = cellSpacing;

+ 1
- 1
kcoloredit/paletteviewscrolledarea.h View File

@@ -40,7 +40,7 @@ public:
40 40
 	PaletteViewScrolledArea(const int defaultCellWidth, const int defaultCellHeight,
41 41
 		const int cellSpacing, TQScrollBar* scrollBar,
42 42
 		TQScrollBar* hScrollBar, KColorEditView* view,
43
-		TQWidget* tqparent = 0, const char* name = 0);
43
+		TQWidget* parent = 0, const char* name = 0);
44 44
 	~PaletteViewScrolledArea();
45 45
 	/** Sets cells sizes and then calls repaintPalette() */
46 46
 	void redraw();

+ 1
- 1
kcoloredit/texteditselection.cpp View File

@@ -24,7 +24,7 @@
24 24
 #include "main.h"
25 25
 #include "texteditselection.h"
26 26
 
27
-TextEditSelection::TextEditSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
27
+TextEditSelection::TextEditSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
28 28
 	inChangingComponents = false;
29 29
 	TQVBoxLayout* topLayout = new TQVBoxLayout(this, 4);
30 30
 	TQGridLayout* componentsLayout = new TQGridLayout(3, 5, 2);

+ 1
- 1
kcoloredit/texteditselection.h View File

@@ -34,7 +34,7 @@ class TextEditSelection : public TQWidget  {
34 34
 
35 35
 public:
36 36
 	/** Constructs the widget */
37
-	TextEditSelection(TQWidget *tqparent=0, const char *name=0);
37
+	TextEditSelection(TQWidget *parent=0, const char *name=0);
38 38
 	~TextEditSelection();
39 39
 	
40 40
 signals:

+ 1
- 1
kcoloredit/textselection.cpp View File

@@ -17,7 +17,7 @@
17 17
 
18 18
 #include "textselection.h"
19 19
 
20
-TextSelection::TextSelection(TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
20
+TextSelection::TextSelection(TQWidget *parent, const char *name ) : TQWidget(parent,name) {
21 21
 	
22 22
 }
23 23
 TextSelection::~TextSelection(){

+ 2
- 2
kdvi/TeXFont.h View File

@@ -17,7 +17,7 @@ class TeXFont {
17 17
  public:
18 18
   TeXFont(TeXFontDefinition *_parent)
19 19
     {
20
-      tqparent       = _parent;
20
+      parent       = _parent;
21 21
       errorMessage = TQString();
22 22
     };
23 23
   
@@ -42,7 +42,7 @@ class TeXFont {
42 42
    
43 43
  protected:
44 44
   glyph              glyphtable[TeXFontDefinition::max_num_of_chars_in_font];
45
-  TeXFontDefinition *tqparent;
45
+  TeXFontDefinition *parent;
46 46
 };
47 47
 
48 48
 #endif

+ 20
- 20
kdvi/TeXFont_PFB.cpp View File

@@ -26,28 +26,28 @@
26 26
 //#define DEBUG_PFB 1
27 27
 
28 28
 
29
-TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double slant)
30
-  : TeXFont(tqparent)
29
+TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc, double slant)
30
+  : TeXFont(parent)
31 31
 {
32 32
 #ifdef DEBUG_PFB
33 33
   if (enc != 0)
34
-    kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( tqparent=" << tqparent << ", encoding=" << enc->encodingFullName << " )" << endl;
34
+    kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( parent=" << parent << ", encoding=" << enc->encodingFullName << " )" << endl;
35 35
   else
36
-    kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( tqparent=" << tqparent << ", encoding=0 )" << endl;
36
+    kdDebug(4300) << "TeXFont_PFB::TeXFont_PFB( parent=" << parent << ", encoding=0 )" << endl;
37 37
 #endif
38 38
 
39 39
   fatalErrorInFontLoading = false;
40 40
 
41
-  int error = FT_New_Face( tqparent->font_pool->FreeType_library, tqparent->filename.local8Bit(), 0, &face );
41
+  int error = FT_New_Face( parent->font_pool->FreeType_library, parent->filename.local8Bit(), 0, &face );
42 42
   
43 43
   if ( error == FT_Err_Unknown_File_Format ) {
44
-    errorMessage = i18n("The font file %1 could be opened and read, but its font format is unsupported.").tqarg(tqparent->filename);
44
+    errorMessage = i18n("The font file %1 could be opened and read, but its font format is unsupported.").tqarg(parent->filename);
45 45
     kdError(4300) << errorMessage << endl;
46 46
     fatalErrorInFontLoading = true;
47 47
     return;
48 48
   } else 
49 49
     if ( error ) {
50
-      errorMessage = i18n("The font file %1 is broken, or it could not be opened or read.").tqarg(tqparent->filename);
50
+      errorMessage = i18n("The font file %1 is broken, or it could not be opened or read.").tqarg(parent->filename);
51 51
       kdError(4300) << errorMessage << endl;
52 52
       fatalErrorInFontLoading = true;
53 53
       return;
@@ -66,7 +66,7 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double
66 66
   }
67 67
   
68 68
   if (face->family_name != 0)
69
-    tqparent->fullFontName = face->family_name;
69
+    parent->fullFontName = face->family_name;
70 70
 
71 71
   // Finally, we need to set up the charMap array, which maps TeX
72 72
   // character codes to glyph indices in the font. (Remark: the
@@ -74,8 +74,8 @@ TeXFont_PFB::TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc, double
74 74
   // TeX is only able to address character codes 0-255 while
75 75
   // e.g. Type1 fonts may contain several thousands of characters)
76 76
   if (enc != 0) {
77
-    tqparent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "Encoding" ));
78
-    tqparent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "encoding" ));
77
+    parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "Encoding" ));
78
+    parent->fullEncodingName = enc->encodingFullName.remove(TQString::tqfromLatin1( "encoding" ));
79 79
 
80 80
     // An encoding vector is given for this font, i.e. an array of
81 81
     // character names (such as: 'parenleft' or 'dotlessj'). We use
@@ -159,16 +159,16 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
159 159
   
160 160
   if ((generateCharacterPixmap == true) && ((g->shrunkenCharacter.isNull()) || (color != g->color)) ) {
161 161
     int error;
162
-    unsigned int res =  (unsigned int)(tqparent->displayResolution_in_dpi/tqparent->enlargement +0.5);
162
+    unsigned int res =  (unsigned int)(parent->displayResolution_in_dpi/parent->enlargement +0.5);
163 163
     g->color = color;
164 164
 
165 165
     // Character height in 1/64th of points (reminder: 1 pt = 1/72 inch)
166 166
     // Only approximate, may vary from file to file!!!! @@@@@
167 167
 
168
-    long int characterSize_in_printers_points_by_64 = (long int)((64.0*72.0*tqparent->scaled_size_in_DVI_units*tqparent->font_pool->getCMperDVIunit())/2.54 + 0.5 ); 
168
+    long int characterSize_in_printers_points_by_64 = (long int)((64.0*72.0*parent->scaled_size_in_DVI_units*parent->font_pool->getCMperDVIunit())/2.54 + 0.5 ); 
169 169
     error = FT_Set_Char_Size(face, 0, characterSize_in_printers_points_by_64, res, res );
170 170
     if (error) {
171
-      TQString msg = i18n("FreeType reported an error when setting the character size for font file %1.").tqarg(tqparent->filename);
171
+      TQString msg = i18n("FreeType reported an error when setting the character size for font file %1.").tqarg(parent->filename);
172 172
       if (errorMessage.isEmpty())
173 173
 	errorMessage = msg;
174 174
       kdError(4300) << msg << endl;
@@ -178,13 +178,13 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
178 178
     }
179 179
     
180 180
     // load glyph image into the slot and erase the previous one
181
-    if (tqparent->font_pool->getUseFontHints() == true)
181
+    if (parent->font_pool->getUseFontHints() == true)
182 182
       error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_DEFAULT ); 
183 183
     else
184 184
       error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_NO_HINTING );
185 185
 
186 186
     if (error) {
187
-      TQString msg = i18n("FreeType is unable to load glyph #%1 from font file %2.").tqarg(ch).tqarg(tqparent->filename);
187
+      TQString msg = i18n("FreeType is unable to load glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
188 188
       if (errorMessage.isEmpty())
189 189
 	errorMessage = msg;
190 190
       kdError(4300) << msg << endl;
@@ -196,7 +196,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
196 196
     // convert to an anti-aliased bitmap
197 197
     error = FT_Render_Glyph( face->glyph, ft_render_mode_normal );
198 198
     if (error) {
199
-      TQString msg = i18n("FreeType is unable to render glyph #%1 from font file %2.").tqarg(ch).tqarg(tqparent->filename);
199
+      TQString msg = i18n("FreeType is unable to render glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
200 200
       if (errorMessage.isEmpty())
201 201
 	errorMessage = msg;
202 202
       kdError(4300) << msg << endl;
@@ -210,7 +210,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
210 210
     if ((slot->bitmap.width == 0) || (slot->bitmap.rows == 0)) {
211 211
       if (errorMessage.isEmpty())
212 212
 	errorMessage = i18n("Glyph #%1 is empty.").tqarg(ch);
213
-      kdError(4300) << i18n("Glyph #%1 from font file %2 is empty.").tqarg(ch).tqarg(tqparent->filename) << endl;
213
+      kdError(4300) << i18n("Glyph #%1 from font file %2 is empty.").tqarg(ch).tqarg(parent->filename) << endl;
214 214
       g->shrunkenCharacter.resize( 15, 15 );
215 215
       g->shrunkenCharacter.fill(TQColor(255, 0, 0));
216 216
       g->x2 = 0;
@@ -221,7 +221,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
221 221
 
222 222
       // Do TQPixmaps fully support the alpha channel? If yes, we use
223 223
       // that. Otherwise, use other routines as a fallback
224
-      if (tqparent->font_pool->TQPixmapSupportsAlpha) {
224
+      if (parent->font_pool->TQPixmapSupportsAlpha) {
225 225
 	// If the alpha channel is properly supported, we set the
226 226
 	// character glyph to a colored rectangle, and define the
227 227
 	// character outline only using the alpha channel. That
@@ -239,7 +239,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
239 239
 	}
240 240
       } else {
241 241
 	// If the alpha channel is not supported... QT seems to turn
242
-	// the alpha channel into a crude bitmap which is used to tqmask
242
+	// the alpha channel into a crude bitmap which is used to mask
243 243
 	// the resulting TQPixmap. In this case, we define the
244 244
 	// character outline using the image data, and use the alpha
245 245
 	// channel only to store "maximally opaque" or "completely
@@ -279,7 +279,7 @@ glyph *TeXFont_PFB::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const T
279 279
   if (g->dvi_advance_in_units_of_design_size_by_2e20 == 0) {
280 280
     int error = FT_Load_Glyph(face, charMap[ch], FT_LOAD_NO_SCALE);
281 281
     if (error) {
282
-      TQString msg = i18n("FreeType is unable to load metric for glyph #%1 from font file %2.").tqarg(ch).tqarg(tqparent->filename);
282
+      TQString msg = i18n("FreeType is unable to load metric for glyph #%1 from font file %2.").tqarg(ch).tqarg(parent->filename);
283 283
       if (errorMessage.isEmpty())
284 284
 	errorMessage = msg;
285 285
       kdError(4300) << msg << endl;

+ 1
- 1
kdvi/TeXFont_PFB.h View File

@@ -23,7 +23,7 @@ class glyph;
23 23
 
24 24
 class TeXFont_PFB : public TeXFont {
25 25
  public:
26
-  TeXFont_PFB(TeXFontDefinition *tqparent, fontEncoding *enc=0, double slant=0.0 );
26
+  TeXFont_PFB(TeXFontDefinition *parent, fontEncoding *enc=0, double slant=0.0 );
27 27
   ~TeXFont_PFB();
28 28
   
29 29
   glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);

+ 15
- 15
kdvi/TeXFont_PK.cpp View File

@@ -80,18 +80,18 @@ extern void oops(TQString message);
80 80
 
81 81
 
82 82
 
83
-TeXFont_PK::TeXFont_PK(TeXFontDefinition *tqparent)
84
-  : TeXFont(tqparent)
83
+TeXFont_PK::TeXFont_PK(TeXFontDefinition *parent)
84
+  : TeXFont(parent)
85 85
 {
86 86
 #ifdef DEBUG_PK
87
-  kdDebug(4300) << "TeXFont_PK::TeXFont_PK( tqparent=" << tqparent << ")" << endl;
87
+  kdDebug(4300) << "TeXFont_PK::TeXFont_PK( parent=" << parent << ")" << endl;
88 88
 #endif
89 89
 
90 90
   for(unsigned int i=0; i<TeXFontDefinition::max_num_of_chars_in_font; i++)
91 91
     characterBitmaps[i] = 0;
92
-  file = fopen(TQFile::encodeName(tqparent->filename), "r");
92
+  file = fopen(TQFile::encodeName(parent->filename), "r");
93 93
   if (file == 0) 
94
-    kdError(4300) << i18n("Cannot open font file %1.").tqarg(tqparent->filename) << endl;
94
+    kdError(4300) << i18n("Cannot open font file %1.").tqarg(parent->filename) << endl;
95 95
 #ifdef DEBUG_PK
96 96
   else
97 97
     kdDebug(4300) << "TeXFont_PK::TeXFont_PK(): file opened successfully" << endl;
@@ -136,7 +136,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
136 136
     // If the character is not defined in the PK file, mark the
137 137
     // character as missing, and print an error message
138 138
     if (g->addr == 0) {
139
-      kdError(4300) << i18n("TexFont_PK::operator[]: Character %1 not defined in font %2").tqarg(ch).tqarg(tqparent->filename) << endl;
139
+      kdError(4300) << i18n("TexFont_PK::operator[]: Character %1 not defined in font %2").tqarg(ch).tqarg(parent->filename) << endl;
140 140
       g->addr = -1;
141 141
       return g;
142 142
     }
@@ -163,7 +163,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
163 163
       ((g->shrunkenCharacter.isNull()) || (color != g->color)) &&
164 164
       (characterBitmaps[ch]->w != 0)) {
165 165
     g->color = color;
166
-    double shrinkFactor = 1200 / tqparent->displayResolution_in_dpi;
166
+    double shrinkFactor = 1200 / parent->displayResolution_in_dpi;
167 167
     
168 168
     // All is fine? Then we rescale the bitmap in order to produce the
169 169
     // required pixmap.  Rescaling a character, however, is an art
@@ -270,7 +270,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
270 270
     im32.setAlphaBuffer(true);
271 271
     // Do TQPixmaps fully support the alpha channel? If yes, we use
272 272
     // that. Otherwise, use other routines as a fallback
273
-    if (tqparent->font_pool->TQPixmapSupportsAlpha) {
273
+    if (parent->font_pool->TQPixmapSupportsAlpha) {
274 274
       // If the alpha channel is properly supported, we set the
275 275
       // character glyph to a colored rectangle, and define the
276 276
       // character outline only using the alpha channel. That ensures
@@ -283,7 +283,7 @@ glyph* TeXFont_PK::getGlyph(TQ_UINT16 ch, bool generateCharacterPixmap, const TQ
283 283
       }
284 284
     } else {
285 285
       // If the alpha channel is not supported... QT seems to turn the
286
-      // alpha channel into a crude bitmap which is used to tqmask the
286
+      // alpha channel into a crude bitmap which is used to mask the
287 287
       // resulting TQPixmap. In this case, we define the character
288 288
       // outline using the image data, and use the alpha channel only
289 289
       // to store "maximally opaque" or "completely transparent"
@@ -454,7 +454,7 @@ void TeXFont_PK::PK_skip_specials()
454 454
       case PK_NOOP :
455 455
 	break;
456 456
       default :
457
-	oops(i18n("Unexpected %1 in PK file %2").tqarg(PK_flag_byte).tqarg(tqparent->filename) );
457
+	oops(i18n("Unexpected %1 in PK file %2").tqarg(PK_flag_byte).tqarg(parent->filename) );
458 458
 	break;
459 459
       }
460 460
     }
@@ -521,7 +521,7 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
521 521
     w = num(fp, n);
522 522
     h = num(fp, n);
523 523
     if (w > 0x7fff || h > 0x7fff)
524
-      oops(i18n("The character %1 is too large in file %2").tqarg(ch).tqarg(tqparent->filename));
524
+      oops(i18n("The character %1 is too large in file %2").tqarg(ch).tqarg(parent->filename));
525 525
     characterBitmaps[ch]->w = w;
526 526
     characterBitmaps[ch]->h = h;
527 527
   }
@@ -626,9 +626,9 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
626 626
 	paint_switch = 1 - paint_switch;
627 627
       }
628 628
       if (cp != ((TQ_UINT32 *) (characterBitmaps[ch]->bits + bytes_wide * characterBitmaps[ch]->h)))
629
-	oops(i18n("Wrong number of bits stored:  char. %1, font %2").tqarg(ch).tqarg(tqparent->filename));
629
+	oops(i18n("Wrong number of bits stored:  char. %1, font %2").tqarg(ch).tqarg(parent->filename));
630 630
       if (rows_left != 0 || h_bit != characterBitmaps[ch]->w)
631
-	oops(i18n("Bad pk file (%1), too many bits").tqarg(tqparent->filename));
631
+	oops(i18n("Bad pk file (%1), too many bits").tqarg(parent->filename));
632 632
     }
633 633
     
634 634
     // The data in the bitmap is now in the processor's bit order,
@@ -712,9 +712,9 @@ void TeXFont_PK::read_PK_char(unsigned int ch)
712 712
 	paint_switch = 1 - paint_switch;
713 713
       }
714 714
       if (cp != ((TQ_UINT32 *) (characterBitmaps[ch]->bits + bytes_wide * characterBitmaps[ch]->h)))
715
-	oops(i18n("Wrong number of bits stored:  char. %1, font %2").tqarg(ch).tqarg(tqparent->filename));
715
+	oops(i18n("Wrong number of bits stored:  char. %1, font %2").tqarg(ch).tqarg(parent->filename));
716 716
       if (rows_left != 0 || h_bit != characterBitmaps[ch]->w)
717
-	oops(i18n("Bad pk file (%1), too many bits").tqarg(tqparent->filename));
717
+	oops(i18n("Bad pk file (%1), too many bits").tqarg(parent->filename));
718 718
     }
719 719
   } // endif: big or small Endian?
720 720
 }

+ 1
- 1
kdvi/TeXFont_PK.h View File

@@ -9,7 +9,7 @@ class glyph;
9 9
 
10 10
 class TeXFont_PK : public TeXFont {
11 11
  public:
12
-  TeXFont_PK(TeXFontDefinition *tqparent);
12
+  TeXFont_PK(TeXFontDefinition *parent);
13 13
   ~TeXFont_PK();
14 14
   
15 15
   glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);

+ 9
- 9
kdvi/TeXFont_TFM.cpp View File

@@ -21,14 +21,14 @@
21 21
 //#define DEBUG_TFM
22 22
 
23 23
 
24
-TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent) 
25
-  : TeXFont(tqparent)
24
+TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *parent) 
25
+  : TeXFont(parent)
26 26
 {
27 27
 #ifdef DEBUG_TFM
28
-  kdDebug(4300) << "TeXFont_TFM::TeXFont_TFM( tqparent=" << tqparent << " )" << endl;
28
+  kdDebug(4300) << "TeXFont_TFM::TeXFont_TFM( parent=" << parent << " )" << endl;
29 29
 #endif
30 30
 
31
-  TQFile file( tqparent->filename );
31
+  TQFile file( parent->filename );
32 32
   if ( !file.open( IO_ReadOnly ) ) {
33 33
     kdError(4300) << "TeXFont_TFM::TeXFont_TFM(): Could not read TFM file" << endl;
34 34
     return;
@@ -49,7 +49,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
49 49
 		<< "nd= " << nd << endl;
50 50
 #endif
51 51
   if ((bc > ec) || (ec >= TeXFontDefinition::max_num_of_chars_in_font)) {
52
-    kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid bc and ec entries." << endl;
52
+    kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid bc and ec entries." << endl;
53 53
     file.close();
54 54
     return;
55 55
   }
@@ -97,7 +97,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
97 97
     TQ_UINT8 byte;
98 98
     stream >> byte;
99 99
     if (byte >= nw) 
100
-      kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid Char-Info table." << endl;
100
+      kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid Char-Info table." << endl;
101 101
     else {
102 102
       characterWidth_in_units_of_design_size[characterCode] = widthTable_in_units_of_design_size[byte];
103 103
       g->dvi_advance_in_units_of_design_size_by_2e20 = widthTable_in_units_of_design_size[byte].value;
@@ -106,7 +106,7 @@ TeXFont_TFM::TeXFont_TFM(TeXFontDefinition *tqparent)
106 106
     stream >> byte;
107 107
     byte = byte >> 4;
108 108
     if (byte >= nh)
109
-      kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << tqparent->filename << " ): The font has an invalid Char-Info table." << endl;
109
+      kdError(4300) << "TeXFont_TFM::TeXFont_TFM( filename=" << parent->filename << " ): The font has an invalid Char-Info table." << endl;
110 110
     else 
111 111
       characterHeight_in_units_of_design_size[characterCode] = heightTable_in_units_of_design_size[byte];
112 112
     
@@ -139,10 +139,10 @@ glyph *TeXFont_TFM::getGlyph(TQ_UINT16 characterCode, bool generateCharacterPixm
139 139
   
140 140
   if ((generateCharacterPixmap == true) && ((g->shrunkenCharacter.isNull()) || (color != g->color)) ) {
141 141
     g->color = color;
142
-    TQ_UINT16 pixelWidth = (TQ_UINT16)(tqparent->displayResolution_in_dpi *
142
+    TQ_UINT16 pixelWidth = (TQ_UINT16)(parent->displayResolution_in_dpi *
143 143
 				     design_size_in_TeX_points.toDouble() *
144 144
 				     characterWidth_in_units_of_design_size[characterCode].toDouble() * 100.0/7227.0 + 0.5);
145
-    TQ_UINT16 pixelHeight = (TQ_UINT16)(tqparent->displayResolution_in_dpi *
145
+    TQ_UINT16 pixelHeight = (TQ_UINT16)(parent->displayResolution_in_dpi *
146 146
 				      design_size_in_TeX_points.toDouble() *
147 147
 				      characterHeight_in_units_of_design_size[characterCode].toDouble() * 100.0/7227.0 + 0.5);
148 148
     

+ 1
- 1
kdvi/TeXFont_TFM.h View File

@@ -23,7 +23,7 @@ class fix_word {
23 23
 
24 24
 class TeXFont_TFM : public TeXFont {
25 25
  public:
26
-  TeXFont_TFM(TeXFontDefinition *tqparent);
26
+  TeXFont_TFM(TeXFontDefinition *parent);
27 27
   ~TeXFont_TFM();
28 28
   
29 29
   glyph* getGlyph(TQ_UINT16 character, bool generateCharacterPixmap=false, const TQColor& color=TQt::black);

+ 1
- 1
kdvi/dviRenderer.cpp View File

@@ -71,7 +71,7 @@ dviRenderer::dviRenderer(TQWidget *par)
71 71
   : DocumentRenderer(par), info(new infoDialog(par))
72 72
 {
73 73
 #ifdef DEBUG_DVIRENDERER
74
-  kdDebug(4300) << "dviRenderer( tqparent=" << par << " )" << endl;
74
+  kdDebug(4300) << "dviRenderer( parent=" << par << " )" << endl;
75 75
 #endif
76 76
 
77 77
   // initialize the dvi machinery

+ 1
- 1
kdvi/dviRenderer.h View File

@@ -88,7 +88,7 @@ class dviRenderer : public DocumentRenderer, bigEndianByteReader
88 88
   TQ_OBJECT
89 89
 
90 90
 public:
91
-  dviRenderer(TQWidget *tqparent);
91
+  dviRenderer(TQWidget *parent);
92 92
   ~dviRenderer();
93 93
 
94 94
   virtual bool	setFile(const TQString &fname, const KURL &base);

+ 3
- 3
kdvi/dviWidget.cpp View File

@@ -22,8 +22,8 @@
22 22
 #include "renderedDviPagePixmap.h"
23 23
 #include "selection.h"
24 24
 
25
-DVIWidget::DVIWidget(TQWidget* tqparent, PageView* sv, DocumentPageCache* cache, const char* name)
26
-  : DocumentWidget(tqparent, sv, cache, name)
25
+DVIWidget::DVIWidget(TQWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name)
26
+  : DocumentWidget(parent, sv, cache, name)
27 27
 {
28 28
 }
29 29
 
@@ -74,7 +74,7 @@ void DVIWidget::mousePressEvent(TQMouseEvent* e)
74 74
     e->accept();
75 75
   }
76 76
 
77
-  // Call implementation from tqparent
77
+  // Call implementation from parent
78 78
   DocumentWidget::mousePressEvent(e);
79 79
 }
80 80
 

+ 1
- 1
kdvi/dviWidget.h View File

@@ -26,7 +26,7 @@ class DVIWidget : public DocumentWidget
26 26
   TQ_OBJECT
27 27
 
28 28
 public: 
29
-  DVIWidget(TQWidget* tqparent, PageView* sv, DocumentPageCache* cache, const char* name);
29
+  DVIWidget(TQWidget* parent, PageView* sv, DocumentPageCache* cache, const char* name);
30 30
 
31 31
 signals:
32 32
   void SRCLink(const TQString&, TQMouseEvent* e, DocumentWidget*);

+ 3
- 3
kdvi/fontprogress.cpp View File

@@ -22,11 +22,11 @@
22 22
 #include <tqvbox.h>
23 23
 
24 24
 /* 
25
- *  Constructs a fontProgressDialog which is a child of 'tqparent', with the 
25
+ *  Constructs a fontProgressDialog which is a child of 'parent', with the 
26 26
  *  name 'name' and widget flags set to 'f' 
27 27
  */
28
-fontProgressDialog::fontProgressDialog(const TQString& helpIndex, const TQString& label, const TQString& abortTip, const TQString& whatsThis, const TQString& ttip, TQWidget* tqparent, const TQString& name, bool progressbar)
29
-  : KDialogBase( tqparent, "Font Generation Progress Dialog", true, name, Cancel, Cancel, true )
28
+fontProgressDialog::fontProgressDialog(const TQString& helpIndex, const TQString& label, const TQString& abortTip, const TQString& whatsThis, const TQString& ttip, TQWidget* parent, const TQString& name, bool progressbar)
29
+  : KDialogBase( parent, "Font Generation Progress Dialog", true, name, Cancel, Cancel, true )
30 30
 {
31 31
   setCursor( TQCursor( 3 ) );
32 32
 

+ 1
- 1
kdvi/fontprogress.h View File

@@ -35,7 +35,7 @@ class fontProgressDialog : public KDialogBase
35 35
 
36 36
 public:
37 37
     fontProgressDialog( const TQString& helpIndex, const TQString& label, const TQString& abortTip, const TQString& whatsThis, const TQString& ttip,
38
-			TQWidget* tqparent = 0, const TQString &name = 0, bool progressbar=true );
38
+			TQWidget* parent = 0, const TQString &name = 0, bool progressbar=true );
39 39
     ~fontProgressDialog();
40 40
     
41 41
     /** The number of steps already done is increased, the text received

+ 2
- 2
kdvi/infodialog.cpp View File

@@ -21,8 +21,8 @@
21 21
 #include "fontpool.h"
22 22
 #include "infodialog.h"
23 23
 
24
-infoDialog::infoDialog( TQWidget* tqparent )
25
-  : KDialogBase( Tabbed, i18n("Document Info"), Ok, Ok, tqparent, "Document Info", false, false)
24
+infoDialog::infoDialog( TQWidget* parent )
25
+  : KDialogBase( Tabbed, i18n("Document Info"), Ok, Ok, parent, "Document Info", false, false)
26 26
 {
27 27
   TQFrame *page1 = addPage( i18n("DVI File") );
28 28
   TQVBoxLayout *topLayout1 = new TQVBoxLayout( page1, 0, 6 );

+ 1
- 1
kdvi/infodialog.h View File

@@ -23,7 +23,7 @@ class infoDialog : public KDialogBase
23 23
   TQ_OBJECT
24 24
 
25 25
 public:
26
-    infoDialog( TQWidget* tqparent = 0 );
26
+    infoDialog( TQWidget* parent = 0 );
27 27
 
28 28
     /** This method is used to set the data coming from the DVI
29 29
         file. Note that 0 is a permissible argument, that just means:

+ 3
- 3
kdvi/kdvi_multipage.cpp View File

@@ -49,9 +49,9 @@ K_EXPORT_COMPONENT_FACTORY(kdvipart, KDVIMultiPageFactory)
49 49
 
50 50
 
51 51
 
52
-KDVIMultiPage::KDVIMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent,
52
+KDVIMultiPage::KDVIMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent,
53 53
                              const char *name, const TQStringList& args)
54
-  : KMultiPage(parentWidget, widgetName, tqparent, name), DVIRenderer(parentWidget)
54
+  : KMultiPage(parentWidget, widgetName, parent, name), DVIRenderer(parentWidget)
55 55
 {
56 56
   Q_UNUSED(args);
57 57
 #ifdef PERFORMANCE_MEASUREMENT
@@ -213,7 +213,7 @@ void KDVIMultiPage::addConfigDialogs(KConfigDialog* configDialog)
213 213
 
214 214
 void KDVIMultiPage::preferencesChanged()
215 215
 {
216
-  // Call method from tqparent class
216
+  // Call method from parent class
217 217
   KMultiPage::preferencesChanged();
218 218
 #ifdef  KDVI_MULTIPAGE_DEBUG
219 219
   kdDebug(4300) << "preferencesChanged" << endl;

+ 1
- 1
kdvi/kdvi_multipage.h View File

@@ -15,7 +15,7 @@ class KDVIMultiPage : public KMultiPage
15 15
   TQ_OBJECT
16 16
 
17 17
 public:
18
-  KDVIMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent,
18
+  KDVIMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent,
19 19
                 const char *name, const TQStringList& args = TQStringList());
20 20
   virtual ~KDVIMultiPage();
21 21
 

+ 3
- 3
kdvi/optionDialogFontsWidget.cpp View File

@@ -21,10 +21,10 @@
21 21
 #include "optionDialogFontsWidget.h"
22 22
 
23 23
 
24
-// Constructs a optionDialogWidget_base which is a child of 'tqparent', with
24
+// Constructs a optionDialogWidget_base which is a child of 'parent', with
25 25
 // the name 'name' and widget flags set to 'f'.
26
-optionDialogFontsWidget::optionDialogFontsWidget( TQWidget* tqparent,  const char* name, WFlags fl )
27
-    : optionDialogFontsWidget_base( tqparent,  name, fl )
26
+optionDialogFontsWidget::optionDialogFontsWidget( TQWidget* parent,  const char* name, WFlags fl )
27
+    : optionDialogFontsWidget_base( parent,  name, fl )
28 28
 {
29 29
 #ifndef HAVE_FREETYPE
30 30
   kcfg_UseType1Fonts->setChecked(false);

+ 1
- 1
kdvi/optionDialogFontsWidget.h View File

@@ -18,7 +18,7 @@ class optionDialogFontsWidget : public optionDialogFontsWidget_base
18 18
   TQ_OBJECT
19 19
     
20 20
  public:
21
-  optionDialogFontsWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
21
+  optionDialogFontsWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
22 22
   ~optionDialogFontsWidget();
23 23
 };
24 24
 

+ 3
- 3
kdvi/optionDialogSpecialWidget.cpp View File

@@ -23,10 +23,10 @@
23 23
 #include "prefs.h"
24 24
 
25 25
 
26
-// Constructs a optionDialogWidget_base which is a child of 'tqparent', with
26
+// Constructs a optionDialogWidget_base which is a child of 'parent', with
27 27
 // the name 'name' and widget flags set to 'f'.
28
-optionDialogSpecialWidget::optionDialogSpecialWidget( TQWidget* tqparent,  const char* name, WFlags fl )
29
-    : optionDialogSpecialWidget_base( tqparent,  name, fl )
28
+optionDialogSpecialWidget::optionDialogSpecialWidget( TQWidget* parent,  const char* name, WFlags fl )
29
+    : optionDialogSpecialWidget_base( parent,  name, fl )
30 30
 {
31 31
   // Set up the list of known and supported editors
32 32
   editorNameString        += i18n("User-Defined Editor");

+ 1
- 1
kdvi/optionDialogSpecialWidget.h View File

@@ -18,7 +18,7 @@ class optionDialogSpecialWidget : public optionDialogSpecialWidget_base
18 18
   TQ_OBJECT
19 19
     
20 20
  public:
21
-  optionDialogSpecialWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
21
+  optionDialogSpecialWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
22 22
   ~optionDialogSpecialWidget();
23 23
   
24 24
  public slots:

+ 3
- 3
kdvi/psheader.txt View File

@@ -21,7 +21,7 @@ B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr
21 21
 1 roll S A/base get 2 index get S/BitMaps get S get/Cd X pop/ctr 0 N Cdx
22 22
 0 Cx Cy Ch sub Cx Cw add Cy setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx
23 23
 sub Cy .1 sub]/id Ci N/rw Cw 7 add 8 idiv string N/rc 0 N/gp 0 N/cp 0 N{
24
-rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagetqmask restore}B/G{{id gp get/gp
24
+rc 0 ne{rc 1 sub/rc X rw}{G}ifelse}imagemask restore}B/G{{id gp get/gp
25 25
 gp 1 add N A 18 mod S 18 idiv pl S get exec}loop}B/adv{cp add/cp X}B
26 26
 /chg{rw cp id gp 4 index getinterval putinterval A gp add/gp X adv}B/nd{
27 27
 /cp 0 N rw exit}B/lsh{rw cp 2 copy get A 0 eq{pop 1}{A 255 eq{pop 254}{
@@ -45,9 +45,9 @@ index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N
45 45
 /Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)
46 46
 (LaserWriter 16/600)]{A length product length le{A length product exch 0
47 47
 exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse
48
-end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagetqmask
48
+end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask
49 49
 grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot}
50
-imagetqmask grestore}}ifelse B/QV{gsave newpath transform round exch round
50
+imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round
51 51
 exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto
52 52
 fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p
53 53
 delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M}

+ 1
- 1
kfax/kfax.h View File

@@ -59,7 +59,7 @@ class TopLevel : public KMainWindow
59 59
 
60 60
 public:
61 61
 
62
-    TopLevel( TQWidget *tqparent=0, const char *name=0 );
62
+    TopLevel( TQWidget *parent=0, const char *name=0 );
63 63
     ~TopLevel();
64 64
 
65 65
     void openNetFile( const KURL& _url);

+ 2
- 2
kfax/kfax_printsettings.cpp View File

@@ -24,8 +24,8 @@
24 24
 #include <tqlayout.h>
25 25
 #include <tqwhatsthis.h>
26 26
 
27
-KFAXPrintSettings::KFAXPrintSettings(TQWidget *tqparent, const char *name)
28
-: KPrintDialogPage(tqparent, name)
27
+KFAXPrintSettings::KFAXPrintSettings(TQWidget *parent, const char *name)
28
+: KPrintDialogPage(parent, name)
29 29
 {
30 30
 	TQString whatsThisScaleFullPage = i18n( "<qt>"
31 31
 		"<p><strong>'Ignore Paper Margins'</strong></p>"

+ 1
- 1
kfax/kfax_printsettings.h View File

@@ -33,7 +33,7 @@ class KFAXPrintSettings : public KPrintDialogPage
33 33
 	Q_OBJECT
34 34
   TQ_OBJECT
35 35
 public:
36
-	KFAXPrintSettings(TQWidget *tqparent = 0, const char *name = 0);
36
+	KFAXPrintSettings(TQWidget *parent = 0, const char *name = 0);
37 37
 	~KFAXPrintSettings();
38 38
 
39 39
 	void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);

+ 2
- 2
kfax/options.cpp View File

@@ -48,8 +48,8 @@
48 48
 #include "kfax.h"
49 49
 #include "options.h"
50 50
 
51
-OptionsDialog::OptionsDialog( TQWidget *tqparent, const char *name)
52
-    : KDialogBase( tqparent, name, true, i18n("Configure"), Ok|Cancel)
51
+OptionsDialog::OptionsDialog( TQWidget *parent, const char *name)
52
+    : KDialogBase( parent, name, true, i18n("Configure"), Ok|Cancel)
53 53
 {
54 54
   TQWidget *mainWidget = new TQWidget(this);
55 55
   setMainWidget(mainWidget);

+ 1
- 1
kfax/options.h View File

@@ -61,7 +61,7 @@ class OptionsDialog : public KDialogBase {
61 61
   TQ_OBJECT
62 62
 
63 63
 public:
64
-    OptionsDialog( TQWidget *tqparent = 0, const char *name = 0);
64
+    OptionsDialog( TQWidget *parent = 0, const char *name = 0);
65 65
 
66 66
     struct optionsinfo* getInfo();
67 67
     void setWidgets(struct optionsinfo *oi);

+ 2
- 2
kfaxview/faxmultipage.cpp View File

@@ -31,9 +31,9 @@ typedef KParts::GenericFactory<FaxMultiPage> FaxMultiPageFactory;
31 31
 K_EXPORT_COMPONENT_FACTORY(kfaxviewpart, FaxMultiPageFactory)
32 32
 
33 33
 
34
-FaxMultiPage::FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent,
34
+FaxMultiPage::FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent,
35 35
                              const char *name, const TQStringList&)
36
-  : KMultiPage(parentWidget, widgetName, tqparent, name), faxRenderer(parentWidget)
36
+  : KMultiPage(parentWidget, widgetName, parent, name), faxRenderer(parentWidget)
37 37
 {
38 38
   /* This is kparts wizardry that cannot be understood by man. Simply
39 39
      change the names to match your implementation.  */

+ 1
- 1
kfaxview/faxmultipage.h View File

@@ -90,7 +90,7 @@ public:
90 90
   kmultipage. Please have a look at the constructor's source code to
91 91
   see how to adjust this for your implementation.
92 92
   */
93
-  FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent,
93
+  FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *parent,
94 94
 		   const char *name, const TQStringList& args = TQStringList());
95 95
   
96 96
   /** Destructor

+ 1
- 1
kfaxview/faxrenderer.cpp View File

@@ -36,7 +36,7 @@ FaxRenderer::FaxRenderer(TQWidget* par)
36 36
   : DocumentRenderer(par)
37 37
 {
38 38
 #ifdef KF_DEBUG
39
-  kdError() << "FaxRenderer( tqparent=" << par << " )" << endl;
39
+  kdError() << "FaxRenderer( parent=" << par << " )" << endl;
40 40
 #endif
41 41
 }
42 42
 

+ 1
- 1
kfaxview/faxrenderer.h View File

@@ -47,7 +47,7 @@ public:
47 47
        This constructor simply prints a message (if debugging is
48 48
        enabled) and calls the default constructor.
49 49
    */
50
-   FaxRenderer(TQWidget* tqparent);
50
+   FaxRenderer(TQWidget* parent);
51 51
 
52 52
    /** Destructor
53 53
 

+ 2
- 2
kfaxview/libkfaximage/kfaximage.cpp View File

@@ -38,8 +38,8 @@ static const char FAXMAGIC[]   = "\000PC Research, Inc\000\000\000\000\000\000";
38 38
 static const char littleTIFF[] = "\x49\x49\x2a\x00";
39 39
 static const char bigTIFF[]    = "\x4d\x4d\x00\x2a";
40 40
 
41
-KFaxImage::KFaxImage( const TQString &filename, TQObject *tqparent, const char *name )
42
-   : TQObject(tqparent,name)
41
+KFaxImage::KFaxImage( const TQString &filename, TQObject *parent, const char *name )
42
+   : TQObject(parent,name)
43 43
 {
44 44
   KGlobal::locale()->insertCatalogue( TQString::tqfromLatin1("libkfaximage") );
45 45
   loadImage(filename);

+ 1
- 1
kfaxview/libkfaximage/kfaximage.h View File

@@ -64,7 +64,7 @@ public:
64 64
      *  @see: numPages
65 65
      */
66 66
 
67
-    KFaxImage( const TQString &filename = TQString(), TQObject *tqparent = 0, const char *name = 0 );
67
+    KFaxImage( const TQString &filename = TQString(), TQObject *parent = 0, const char *name = 0 );
68 68
 
69 69
     /**
70 70
      *  Destructor

+ 2
- 2
kfile-plugins/bmp/kfile_bmp.cpp View File

@@ -43,10 +43,10 @@ typedef KGenericFactory<KBmpPlugin> BmpFactory;
43 43
 
44 44
 K_EXPORT_COMPONENT_FACTORY(kfile_bmp, BmpFactory( "kfile_bmp" ))
45 45
 
46
-KBmpPlugin::KBmpPlugin(TQObject *tqparent, const char *name,
46
+KBmpPlugin::KBmpPlugin(TQObject *parent, const char *name,
47 47
                        const TQStringList &args)
48 48
 
49
-    : KFilePlugin(tqparent, name, args)
49
+    : KFilePlugin(parent, name, args)
50 50
 {
51 51
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-bmp" );
52 52
 

+ 1
- 1
kfile-plugins/bmp/kfile_bmp.h View File

@@ -30,7 +30,7 @@ class KBmpPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-    KBmpPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KBmpPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
     
35 35
     virtual bool readInfo( KFileMetaInfo& info, uint what);
36 36
 };

+ 10
- 10
kfile-plugins/dds/kfile_dds.cpp View File

@@ -90,10 +90,10 @@ namespace {	// Private.
90 90
 		uint flags;
91 91
 		uint fourcc;
92 92
 		uint bitcount;
93
-		uint rtqmask;
94
-		uint gtqmask;
95
-		uint btqmask;
96
-		uint atqmask;
93
+		uint rmask;
94
+		uint gmask;
95
+		uint bmask;
96
+		uint amask;
97 97
 	};
98 98
 
99 99
 	TQDataStream & operator>> ( TQDataStream & s, DDSPixelFormat & pf )
@@ -102,10 +102,10 @@ namespace {	// Private.
102 102
 		s >> pf.flags;
103 103
 		s >> pf.fourcc;
104 104
 		s >> pf.bitcount;
105
-		s >> pf.rtqmask;
106
-		s >> pf.gtqmask;
107
-		s >> pf.btqmask;
108
-		s >> pf.atqmask;
105
+		s >> pf.rmask;
106
+		s >> pf.gmask;
107
+		s >> pf.bmask;
108
+		s >> pf.amask;
109 109
 		return s;
110 110
 	}
111 111
 
@@ -182,8 +182,8 @@ namespace {	// Private.
182 182
 K_EXPORT_COMPONENT_FACTORY(kfile_dds, DdsFactory( "kfile_dds" ))
183 183
 
184 184
 // Constructor, init mime type info.
185
-KDdsPlugin::KDdsPlugin(TQObject *tqparent, const char *name, const TQStringList &args) : 
186
-	KFilePlugin(tqparent, name, args)
185
+KDdsPlugin::KDdsPlugin(TQObject *parent, const char *name, const TQStringList &args) : 
186
+	KFilePlugin(parent, name, args)
187 187
 {
188 188
     KFileMimeTypeInfo * info = addMimeTypeInfo( "image/x-dds" );
189 189
 

+ 1
- 1
kfile-plugins/dds/kfile_dds.h View File

@@ -30,7 +30,7 @@ class KDdsPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-    KDdsPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KDdsPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
     
35 35
     virtual bool readInfo( KFileMetaInfo& info, uint what);
36 36
 };

+ 2
- 2
kfile-plugins/dependencies/poppler-tqt/poppler-private.cc View File

@@ -86,7 +86,7 @@ GooString *TQStringToGooString(const TQString &s)
86 86
 }
87 87
 
88 88
 
89
-void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * tqparent, GooList * items )
89
+void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, GooList * items )
90 90
 {
91 91
     int numItems = items->getLength();
92 92
     for ( int i = 0; i < numItems; ++i )
@@ -103,7 +103,7 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * tqparent,
103 103
             continue;
104 104
 
105 105
         TQDomElement item = docSyn->createElement( name );
106
-        tqparent->appendChild( item );
106
+        parent->appendChild( item );
107 107
 
108 108
         // 2. find the page the link refers to
109 109
         ::LinkAction * a = outlineItem->getAction();

+ 1
- 1
kfile-plugins/dependencies/poppler-tqt/poppler-private.h View File

@@ -84,7 +84,7 @@ class DocumentData {
84 84
         return m_outputDev;
85 85
     }
86 86
 
87
-    void addTocChildren( TQDomDocument * docSyn, TQDomNode * tqparent, GooList * items );
87
+    void addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, GooList * items );
88 88
 
89 89
   class PDFDoc doc;
90 90
   bool locked;

+ 2
- 2
kfile-plugins/dvi/kfile_dvi.cpp View File

@@ -39,8 +39,8 @@
39 39
 typedef KGenericFactory<KDviPlugin> DviFactory;
40 40
 K_EXPORT_COMPONENT_FACTORY(kfile_dvi, DviFactory("kfile_dvi"))
41 41
 
42
-KDviPlugin::KDviPlugin (TQObject * tqparent, const char * name, const TQStringList & preferredItems)
43
-  : KFilePlugin(tqparent, name, preferredItems)
42
+KDviPlugin::KDviPlugin (TQObject * parent, const char * name, const TQStringList & preferredItems)
43
+  : KFilePlugin(parent, name, preferredItems)
44 44
 {
45 45
   kdDebug(7034) << "dvi plugin" << endl;
46 46
   

+ 1
- 1
kfile-plugins/dvi/kfile_dvi.h View File

@@ -30,7 +30,7 @@ class KDviPlugin : public KFilePlugin
30 30
 	Q_OBJECT
31 31
   TQ_OBJECT
32 32
 public:
33
-	KDviPlugin ( TQObject * tqparent, const char * name, const TQStringList & preferredItems );
33
+	KDviPlugin ( TQObject * parent, const char * name, const TQStringList & preferredItems );
34 34
 
35 35
 	virtual bool readInfo (KFileMetaInfo & info, uint what);
36 36
 };

+ 2
- 2
kfile-plugins/exr/kfile_exr.cpp View File

@@ -60,9 +60,9 @@ typedef KGenericFactory<KExrPlugin> ExrFactory;
60 60
 
61 61
 K_EXPORT_COMPONENT_FACTORY(kfile_exr, ExrFactory("kfile_exr"))
62 62
 
63
-KExrPlugin::KExrPlugin(TQObject *tqparent, const char *name,
63
+KExrPlugin::KExrPlugin(TQObject *parent, const char *name,
64 64
                        const TQStringList &args)
65
-    : KFilePlugin(tqparent, name, args)
65
+    : KFilePlugin(parent, name, args)
66 66
 {
67 67
     // set up our mime type
68 68
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-exr" );

+ 1
- 1
kfile-plugins/exr/kfile_exr.h View File

@@ -32,7 +32,7 @@ class KExrPlugin: public KFilePlugin
32 32
   TQ_OBJECT
33 33
     
34 34
 public:
35
-    KExrPlugin( TQObject *tqparent, const char *name, const TQStringList& preferredItems );
35
+    KExrPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
36 36
 
37 37
     virtual bool readInfo( KFileMetaInfo& info, uint );
38 38
 };

+ 2
- 2
kfile-plugins/gif/kfile_gif.cpp View File

@@ -42,9 +42,9 @@ typedef KGenericFactory<KGifPlugin> GifFactory;
42 42
 
43 43
 K_EXPORT_COMPONENT_FACTORY(kfile_gif, GifFactory("kfile_gif"))
44 44
 
45
-KGifPlugin::KGifPlugin(TQObject *tqparent, const char *name,
45
+KGifPlugin::KGifPlugin(TQObject *parent, const char *name,
46 46
                        const TQStringList &args)
47
-    : KFilePlugin(tqparent, name, args)
47
+    : KFilePlugin(parent, name, args)
48 48
 {
49 49
     kdDebug(7034) << "gif KFileMetaInfo plugin\n";
50 50
 

+ 1
- 1
kfile-plugins/gif/kfile_gif.h View File

@@ -30,7 +30,7 @@ class KGifPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
 
32 32
 public:
33
-    KGifPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KGifPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
 
35 35
     virtual bool readInfo ( KFileMetaInfo& info, uint what );
36 36
 };

+ 2
- 2
kfile-plugins/ico/kfile_ico.cpp View File

@@ -44,10 +44,10 @@ typedef KGenericFactory<KIcoPlugin> IcoFactory;
44 44
 
45 45
 K_EXPORT_COMPONENT_FACTORY(kfile_ico, IcoFactory( "kfile_ico" ))
46 46
 
47
-KIcoPlugin::KIcoPlugin(TQObject *tqparent, const char *name,
47
+KIcoPlugin::KIcoPlugin(TQObject *parent, const char *name,
48 48
                        const TQStringList &args)
49 49
 
50
-    : KFilePlugin(tqparent, name, args)
50
+    : KFilePlugin(parent, name, args)
51 51
 {
52 52
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-ico" );
53 53
 

+ 1
- 1
kfile-plugins/ico/kfile_ico.h View File

@@ -30,7 +30,7 @@ class KIcoPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-    KIcoPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KIcoPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
     
35 35
     virtual bool readInfo( KFileMetaInfo& info, uint what);
36 36
 };

+ 4
- 4
kfile-plugins/jpeg/kfile_jpeg.cpp View File

@@ -44,9 +44,9 @@ typedef KGenericFactory<KJpegPlugin> JpegFactory;
44 44
 
45 45
 K_EXPORT_COMPONENT_FACTORY(kfile_jpeg, JpegFactory("kfile_jpeg"))
46 46
 
47
-KJpegPlugin::KJpegPlugin(TQObject *tqparent, const char *name,
47
+KJpegPlugin::KJpegPlugin(TQObject *parent, const char *name,
48 48
                        const TQStringList &args )
49
-    : KFilePlugin(tqparent, name, args)
49
+    : KFilePlugin(parent, name, args)
50 50
 {
51 51
   kdDebug(7034) << "jpeg plugin\n";
52 52
 
@@ -148,12 +148,12 @@ KJpegPlugin::KJpegPlugin(TQObject *tqparent, const char *name,
148 148
 }
149 149
 
150 150
 TQValidator* KJpegPlugin::createValidator(const KFileMetaInfoItem& /*item*/,
151
-                                        TQObject */*tqparent*/,
151
+                                        TQObject */*parent*/,
152 152
                                          const char */*name*/ ) const
153 153
 {
154 154
     // no need to return a validator that validates everything as OK :)
155 155
 //     if (item.isEditable())
156
-//         return new TQRegExpValidator(TQRegExp(".*"), tqparent, name);
156
+//         return new TQRegExpValidator(TQRegExp(".*"), parent, name);
157 157
 //     else
158 158
     return 0L;
159 159
 }

+ 2
- 2
kfile-plugins/jpeg/kfile_jpeg.h View File

@@ -29,13 +29,13 @@ class KJpegPlugin: public KFilePlugin
29 29
   TQ_OBJECT
30 30
 
31 31
 public:
32
-    KJpegPlugin( TQObject *tqparent, const char *name,
32
+    KJpegPlugin( TQObject *parent, const char *name,
33 33
                 const TQStringList& args );
34 34
 
35 35
     virtual bool readInfo ( KFileMetaInfo& info, uint what );
36 36
     virtual bool writeInfo( const KFileMetaInfo& info ) const;
37 37
     virtual TQValidator* createValidator( const KFileMetaInfoItem& item,
38
-                                         TQObject* tqparent, const char* name) const;
38
+                                         TQObject* parent, const char* name) const;
39 39
     
40 40
 private:
41 41
     TQDateTime parseDateTime( const TQString& string ); 

+ 2
- 2
kfile-plugins/pcx/kfile_pcx.cpp View File

@@ -56,8 +56,8 @@ TQDataStream &operator>>( TQDataStream &s, PCXHEADER &ph )
56 56
   return s;
57 57
 }
58 58
 
59
-KPcxPlugin::KPcxPlugin( TQObject *tqparent, const char *name,
60
-        const TQStringList &args ) : KFilePlugin( tqparent, name, args )
59
+KPcxPlugin::KPcxPlugin( TQObject *parent, const char *name,
60
+        const TQStringList &args ) : KFilePlugin( parent, name, args )
61 61
 {
62 62
   kdDebug(7034) << "PCX file meta info plugin" << endl;
63 63
   KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-pcx" );

+ 1
- 1
kfile-plugins/pcx/kfile_pcx.h View File

@@ -76,7 +76,7 @@ class KPcxPlugin: public KFilePlugin
76 76
   TQ_OBJECT
77 77
 
78 78
 public:
79
-  KPcxPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
79
+  KPcxPlugin(TQObject *parent, const char *name, const TQStringList& args);
80 80
   virtual bool readInfo(KFileMetaInfo& info, uint what);
81 81
 
82 82
 private:

+ 2
- 2
kfile-plugins/pdf/kfile_pdf.cpp View File

@@ -27,8 +27,8 @@ typedef KGenericFactory<KPdfPlugin> PdfFactory;
27 27
 
28 28
 K_EXPORT_COMPONENT_FACTORY(kfile_pdf, PdfFactory("kfile_pdf"))
29 29
 
30
-KPdfPlugin::KPdfPlugin(TQObject *tqparent, const char *name, const TQStringList &preferredItems)
31
-    : KFilePlugin(tqparent, name, preferredItems)
30
+KPdfPlugin::KPdfPlugin(TQObject *parent, const char *name, const TQStringList &preferredItems)
31
+    : KFilePlugin(parent, name, preferredItems)
32 32
 {
33 33
     kdDebug(7034) << "pdf plugin\n";
34 34
 

+ 1
- 1
kfile-plugins/pdf/kfile_pdf.h View File

@@ -31,7 +31,7 @@ class KPdfPlugin: public KFilePlugin
31 31
 Q_OBJECT
32 32
   TQ_OBJECT
33 33
 public:
34
-    KPdfPlugin( TQObject *tqparent, const char *name, const TQStringList& preferredItems );
34
+    KPdfPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
35 35
 
36 36
     virtual bool readInfo(KFileMetaInfo& info, uint what);
37 37
 };

+ 2
- 2
kfile-plugins/png/kfile_png.cpp View File

@@ -87,9 +87,9 @@ typedef KGenericFactory<KPngPlugin> PngFactory;
87 87
 
88 88
 K_EXPORT_COMPONENT_FACTORY(kfile_png, PngFactory("kfile_png"))
89 89
 
90
-KPngPlugin::KPngPlugin(TQObject *tqparent, const char *name,
90
+KPngPlugin::KPngPlugin(TQObject *parent, const char *name,
91 91
                        const TQStringList &args)
92
-    : KFilePlugin(tqparent, name, args)
92
+    : KFilePlugin(parent, name, args)
93 93
 {
94 94
     kdDebug(7034) << "png plugin\n";
95 95
 

+ 1
- 1
kfile-plugins/png/kfile_png.h View File

@@ -32,7 +32,7 @@ class KPngPlugin: public KFilePlugin
32 32
   TQ_OBJECT
33 33
     
34 34
 public:
35
-    KPngPlugin( TQObject *tqparent, const char *name, const TQStringList& preferredItems );
35
+    KPngPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
36 36
 
37 37
     virtual bool readInfo( KFileMetaInfo& info, uint );
38 38
 };

+ 1
- 1
kfile-plugins/pnm/kfile_pnm.cpp View File

@@ -33,7 +33,7 @@ typedef KGenericFactory<KPnmPlugin> PnmFactory;
33 33
 
34 34
 K_EXPORT_COMPONENT_FACTORY(kfile_pnm, PnmFactory("kfile_pnm"))
35 35
 
36
-KPnmPlugin::KPnmPlugin(TQObject *tqparent, const char *name, const TQStringList &args) : KFilePlugin(tqparent, name, args) 
36
+KPnmPlugin::KPnmPlugin(TQObject *parent, const char *name, const TQStringList &args) : KFilePlugin(parent, name, args) 
37 37
 {
38 38
 	makeMimeTypeInfo( "image/x-portable-bitmap" );
39 39
 	makeMimeTypeInfo( "image/x-portable-greymap" );

+ 1
- 1
kfile-plugins/pnm/kfile_pnm.h View File

@@ -30,7 +30,7 @@ class KPnmPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-	KPnmPlugin( TQObject *tqparent, const char *name, const TQStringList& preferredItems );
33
+	KPnmPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
34 34
 	virtual bool readInfo( KFileMetaInfo& info, uint );
35 35
 
36 36
 private:

+ 2
- 2
kfile-plugins/ps/kfile_ps.cpp View File

@@ -30,9 +30,9 @@ typedef KGenericFactory<KPSPlugin> PSFactory;
30 30
 
31 31
 K_EXPORT_COMPONENT_FACTORY(kfile_ps, PSFactory("kfile_ps"))
32 32
 
33
-KPSPlugin::KPSPlugin(TQObject *tqparent, const char *name,
33
+KPSPlugin::KPSPlugin(TQObject *parent, const char *name,
34 34
                        const TQStringList &preferredItems) : 
35
-    KFilePlugin( tqparent, name, preferredItems )
35
+    KFilePlugin( parent, name, preferredItems )
36 36
 {
37 37
     kdDebug(7034) << "ps plugin\n";
38 38
     

+ 1
- 1
kfile-plugins/ps/kfile_ps.h View File

@@ -32,7 +32,7 @@ class KPSPlugin: public KFilePlugin, public KDSCCommentHandler
32 32
     Q_OBJECT
33 33
   TQ_OBJECT
34 34
 public:
35
-    KPSPlugin( TQObject *tqparent, const char *name,
35
+    KPSPlugin( TQObject *parent, const char *name,
36 36
                 const TQStringList& preferredItems );
37 37
     
38 38
     virtual bool readInfo( KFileMetaInfo& info, uint what);

+ 2
- 2
kfile-plugins/raw/kcamerarawplugin.cpp View File

@@ -83,9 +83,9 @@ bool KCameraRawPlugin::createPreview(const TQString &path, TQImage &img)
83 83
   return true;	
84 84
 }
85 85
 
86
-KCameraRawPlugin::KCameraRawPlugin(TQObject *tqparent, const char *name,
86
+KCameraRawPlugin::KCameraRawPlugin(TQObject *parent, const char *name,
87 87
 				   const TQStringList &args )
88
-    : KFilePlugin(tqparent, name, args)
88
+    : KFilePlugin(parent, name, args)
89 89
 {
90 90
   kdDebug(7034) << "KCameraRawPlugin c'tor" << endl;
91 91
 

+ 1
- 1
kfile-plugins/raw/kcamerarawplugin.h View File

@@ -29,7 +29,7 @@ class KCameraRawPlugin: public KFilePlugin {
29 29
   TQ_OBJECT
30 30
 
31 31
 public:
32
-    KCameraRawPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
32
+    KCameraRawPlugin(TQObject *parent, const char *name, const TQStringList& args);
33 33
     virtual bool readInfo(KFileMetaInfo& info, uint what);
34 34
 
35 35
 private:

+ 4
- 4
kfile-plugins/rgb/kfile_rgb.cpp View File

@@ -32,8 +32,8 @@ typedef KGenericFactory<KRgbPlugin> RgbFactory;
32 32
 K_EXPORT_COMPONENT_FACTORY(kfile_rgb, RgbFactory("kfile_rgb"))
33 33
 
34 34
 
35
-KRgbPlugin::KRgbPlugin(TQObject *tqparent, const char *name, const TQStringList &args) :
36
-	KFilePlugin(tqparent, name, args)
35
+KRgbPlugin::KRgbPlugin(TQObject *parent, const char *name, const TQStringList &args) :
36
+	KFilePlugin(parent, name, args)
37 37
 {
38 38
 	KFileMimeTypeInfo* info = addMimeTypeInfo("image/x-rgb");
39 39
 
@@ -199,9 +199,9 @@ bool KRgbPlugin::writeInfo(const KFileMetaInfo& info) const
199 199
 
200 200
 // restrict to 79 ASCII characters
201 201
 TQValidator* KRgbPlugin::createValidator(const TQString&, const TQString &,
202
-		const TQString &, TQObject* tqparent, const char* name) const
202
+		const TQString &, TQObject* parent, const char* name) const
203 203
 {
204
-	return new TQRegExpValidator(TQRegExp("[\x0020-\x007E]{79}"), tqparent, name);
204
+	return new TQRegExpValidator(TQRegExp("[\x0020-\x007E]{79}"), parent, name);
205 205
 }
206 206
 
207 207
 

+ 2
- 2
kfile-plugins/rgb/kfile_rgb.h View File

@@ -30,12 +30,12 @@ class KRgbPlugin : public KFilePlugin
30 30
   TQ_OBJECT
31 31
 
32 32
 public:
33
-	KRgbPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
33
+	KRgbPlugin(TQObject *parent, const char *name, const TQStringList& args);
34 34
 	virtual bool readInfo(KFileMetaInfo& info, uint what);
35 35
 	virtual bool writeInfo(const KFileMetaInfo& info) const;
36 36
 	virtual TQValidator* createValidator(const TQString& mimetype,
37 37
 			const TQString &group, const TQString &key,
38
-			TQObject* tqparent, const char* name) const;
38
+			TQObject* parent, const char* name) const;
39 39
 
40 40
 };
41 41
 

+ 2
- 2
kfile-plugins/tga/kfile_tga.cpp View File

@@ -44,10 +44,10 @@ typedef KGenericFactory<KTgaPlugin> TgaFactory;
44 44
 
45 45
 K_EXPORT_COMPONENT_FACTORY(kfile_tga, TgaFactory( "kfile_tga" ))
46 46
 
47
-KTgaPlugin::KTgaPlugin(TQObject *tqparent, const char *name,
47
+KTgaPlugin::KTgaPlugin(TQObject *parent, const char *name,
48 48
                        const TQStringList &args)
49 49
 
50
-    : KFilePlugin(tqparent, name, args)
50
+    : KFilePlugin(parent, name, args)
51 51
 {
52 52
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-targa" );
53 53
 

+ 1
- 1
kfile-plugins/tga/kfile_tga.h View File

@@ -30,7 +30,7 @@ class KTgaPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-    KTgaPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KTgaPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
     
35 35
     virtual bool readInfo( KFileMetaInfo& info, uint what);
36 36
 };

+ 3
- 3
kfile-plugins/tiff/kfile_tiff.cpp View File

@@ -34,8 +34,8 @@ typedef KGenericFactory<KTiffPlugin> TiffFactory;
34 34
 
35 35
 K_EXPORT_COMPONENT_FACTORY(kfile_tiff, TiffFactory("kfile_tiff"))
36 36
 
37
-KTiffPlugin::KTiffPlugin(TQObject *tqparent, const char *name,
38
-        const TQStringList &args) : KFilePlugin(tqparent, name, args)
37
+KTiffPlugin::KTiffPlugin(TQObject *parent, const char *name,
38
+        const TQStringList &args) : KFilePlugin(parent, name, args)
39 39
 {
40 40
     kdDebug(7034) << "TIFF file meta info plugin" << endl;
41 41
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/tiff" );
@@ -90,7 +90,7 @@ KTiffPlugin::KTiffPlugin(TQObject *tqparent, const char *name,
90 90
     m_colorMode.insert(PHOTOMETRIC_PALETTE,
91 91
                 new TQString(I18N_NOOP("Palette color")));
92 92
     m_colorMode.insert(PHOTOMETRIC_MASK,
93
-                new TQString(I18N_NOOP("Transparency tqmask")));
93
+                new TQString(I18N_NOOP("Transparency mask")));
94 94
     m_colorMode.insert(PHOTOMETRIC_SEPARATED,
95 95
                 new TQString(I18N_NOOP("Color separations")));
96 96
     m_colorMode.insert(PHOTOMETRIC_YCBCR,

+ 1
- 1
kfile-plugins/tiff/kfile_tiff.h View File

@@ -30,7 +30,7 @@ class KTiffPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
 
32 32
 public:
33
-    KTiffPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
33
+    KTiffPlugin(TQObject *parent, const char *name, const TQStringList& args);
34 34
     virtual bool readInfo(KFileMetaInfo& info, uint what);
35 35
 
36 36
 private:

+ 2
- 2
kfile-plugins/xbm/kfile_xbm.cpp View File

@@ -42,10 +42,10 @@ typedef KGenericFactory<KXbmPlugin> XbmFactory;
42 42
 
43 43
 K_EXPORT_COMPONENT_FACTORY(kfile_xbm, XbmFactory( "kfile_xbm" ))
44 44
 
45
-KXbmPlugin::KXbmPlugin(TQObject *tqparent, const char *name,
45
+KXbmPlugin::KXbmPlugin(TQObject *parent, const char *name,
46 46
                        const TQStringList &args)
47 47
 
48
-    : KFilePlugin(tqparent, name, args)
48
+    : KFilePlugin(parent, name, args)
49 49
 {
50 50
     KFileMimeTypeInfo* info = addMimeTypeInfo( "image/x-xbm" );
51 51
 

+ 1
- 1
kfile-plugins/xbm/kfile_xbm.h View File

@@ -30,7 +30,7 @@ class KXbmPlugin: public KFilePlugin
30 30
   TQ_OBJECT
31 31
     
32 32
 public:
33
-    KXbmPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
33
+    KXbmPlugin( TQObject *parent, const char *name, const TQStringList& args );
34 34
     
35 35
     virtual bool readInfo( KFileMetaInfo& info, uint what);
36 36
     

+ 0
- 0
kfile-plugins/xpm/kfile_xpm.cpp View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save