summaryrefslogtreecommitdiffstats
path: root/redhat/applications/konversation/bp002-c64099e5.diff
blob: 3cdd7d267ce56fb9ee42c1dbc154db70a7b1ab16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
commit c64099e59a4e9ba6bdb8eebecd88e3363aee479b
Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date:   1324497946 -0600

    Rename obsolete tq methods to standard names

diff --git a/konversation/src/alias_preferencesui.ui b/konversation/src/alias_preferencesui.ui
index 3783955..10d926a 100644
--- a/konversation/src/alias_preferencesui.ui
+++ b/konversation/src/alias_preferencesui.ui
@@ -21,7 +21,7 @@
         </property>
         <widget class="TQLayoutWidget" row="1" column="0">
             <property name="name">
-                <cstring>tqlayout7</cstring>
+                <cstring>layout7</cstring>
             </property>
             <grid>
                 <property name="name">
@@ -114,7 +114,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="0" column="1" rowspan="2" colspan="1">
             <property name="name">
-                <cstring>tqlayout8</cstring>
+                <cstring>layout8</cstring>
             </property>
             <vbox>
                 <property name="name">
diff --git a/konversation/src/autoreplace_preferencesui.ui b/konversation/src/autoreplace_preferencesui.ui
index 769ba9b..494427f 100644
--- a/konversation/src/autoreplace_preferencesui.ui
+++ b/konversation/src/autoreplace_preferencesui.ui
@@ -22,7 +22,7 @@
         </property>
         <widget class="TQLayoutWidget" row="0" column="1" rowspan="2" colspan="1">
             <property name="name">
-                <cstring>tqlayout6</cstring>
+                <cstring>layout6</cstring>
             </property>
             <vbox>
                 <property name="name">
@@ -137,7 +137,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="1" column="0">
             <property name="name">
-                <cstring>tqlayout16</cstring>
+                <cstring>layout16</cstring>
             </property>
             <grid>
                 <property name="name">
diff --git a/konversation/src/channeloptionsui.ui b/konversation/src/channeloptionsui.ui
index 33bb6ff..529207d 100644
--- a/konversation/src/channeloptionsui.ui
+++ b/konversation/src/channeloptionsui.ui
@@ -215,7 +215,7 @@ the Free Software Foundation; either version 2 of the License, or
                     </widget>
                     <widget class="TQLayoutWidget">
                         <property name="name">
-                            <cstring>tqlayout11</cstring>
+                            <cstring>layout11</cstring>
                         </property>
                         <grid>
                             <property name="name">
@@ -289,7 +289,7 @@ the Free Software Foundation; either version 2 of the License, or
                     </widget>
                     <widget class="TQLayoutWidget">
                         <property name="name">
-                            <cstring>tqlayout2</cstring>
+                            <cstring>layout2</cstring>
                         </property>
                         <hbox>
                             <property name="name">
diff --git a/konversation/src/colorsappearance_preferences.ui b/konversation/src/colorsappearance_preferences.ui
index 909e5b3..b0e9c1e 100644
--- a/konversation/src/colorsappearance_preferences.ui
+++ b/konversation/src/colorsappearance_preferences.ui
@@ -726,7 +726,7 @@ the Free Software Foundation; either version 2 of the License, or
                 </widget>
                 <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="12">
                     <property name="name">
-                        <cstring>tqlayout18</cstring>
+                        <cstring>layout18</cstring>
                     </property>
                     <hbox>
                         <property name="name">
diff --git a/konversation/src/dccrecipientdialog.cpp b/konversation/src/dccrecipientdialog.cpp
index 6be72d2..bb5d334 100644
--- a/konversation/src/dccrecipientdialog.cpp
+++ b/konversation/src/dccrecipientdialog.cpp
@@ -30,7 +30,7 @@ DccRecipientDialog::DccRecipientDialog(TQWidget* parent, const TQStringList &lis
     // Create the top level widget
     TQWidget* page=new TQWidget(this);
     setMainWidget(page);
-    // Add the tqlayout to the widget
+    // Add the layout to the widget
     TQVBoxLayout* dialogLayout=new TQVBoxLayout(page);
     dialogLayout->setSpacing(spacingHint());
     // Add the nickname list widget
diff --git a/konversation/src/dcctransferdetailedinfopanelui.ui b/konversation/src/dcctransferdetailedinfopanelui.ui
index 967b1ae..ea04cf8 100644
--- a/konversation/src/dcctransferdetailedinfopanelui.ui
+++ b/konversation/src/dcctransferdetailedinfopanelui.ui
@@ -26,7 +26,7 @@
         </property>
         <widget class="TQLayoutWidget">
             <property name="name">
-                <cstring>tqlayout7</cstring>
+                <cstring>layout7</cstring>
             </property>
             <grid>
                 <property name="name">
@@ -115,7 +115,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="6" column="1">
                     <property name="name">
-                        <cstring>tqlayout6</cstring>
+                        <cstring>layout6</cstring>
                     </property>
                     <hbox>
                         <property name="name">
@@ -162,7 +162,7 @@
         </widget>
         <widget class="TQLayoutWidget">
             <property name="name">
-                <cstring>tqlayout26</cstring>
+                <cstring>layout26</cstring>
             </property>
             <hbox>
                 <property name="name">
@@ -170,7 +170,7 @@
                 </property>
                 <widget class="TQLayoutWidget">
                     <property name="name">
-                        <cstring>tqlayout24</cstring>
+                        <cstring>layout24</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -344,7 +344,7 @@
                 </widget>
                 <widget class="TQLayoutWidget">
                     <property name="name">
-                        <cstring>tqlayout25</cstring>
+                        <cstring>layout25</cstring>
                     </property>
                     <grid>
                         <property name="name">
diff --git a/konversation/src/editnotifydialog.cpp b/konversation/src/editnotifydialog.cpp
index 312d69c..8874463 100644
--- a/konversation/src/editnotifydialog.cpp
+++ b/konversation/src/editnotifydialog.cpp
@@ -37,8 +37,8 @@ KDialogBase::Ok,true)
     TQWidget* page=new TQWidget(this);
     setMainWidget(page);
 
-    TQHBoxLayout* tqlayout = new TQHBoxLayout(page);
-    tqlayout->setSpacing(spacingHint());
+    TQHBoxLayout* layout = new TQHBoxLayout(page);
+    layout->setSpacing(spacingHint());
 
     TQLabel* networkNameLabel=new TQLabel(i18n("&Network name:"),page);
     TQString networkNameWT = i18n(
@@ -80,10 +80,10 @@ KDialogBase::Ok,true)
         if(*it == network) m_networkNameCombo->setCurrentItem(m_networkNameCombo->count()-1);
     }
 
-    tqlayout->addWidget(networkNameLabel);
-    tqlayout->addWidget(m_networkNameCombo);
-    tqlayout->addWidget(nicknameLabel);
-    tqlayout->addWidget(m_nicknameInput);
+    layout->addWidget(networkNameLabel);
+    layout->addWidget(m_networkNameCombo);
+    layout->addWidget(nicknameLabel);
+    layout->addWidget(m_nicknameInput);
 
     setButtonOK(KGuiItem(i18n("&OK"),"button_ok",i18n("Change notify information")));
     setButtonCancel(KGuiItem(i18n("&Cancel"),"button_cancel",i18n("Discards all changes made")));
diff --git a/konversation/src/highlight_preferencesui.ui b/konversation/src/highlight_preferencesui.ui
index 3b42a4d..df28e7e 100644
--- a/konversation/src/highlight_preferencesui.ui
+++ b/konversation/src/highlight_preferencesui.ui
@@ -93,7 +93,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="4" rowspan="5" colspan="1">
                     <property name="name">
-                        <cstring>tqlayout13</cstring>
+                        <cstring>layout13</cstring>
                     </property>
                     <vbox>
                         <property name="name">
diff --git a/konversation/src/identitydialog.cpp b/konversation/src/identitydialog.cpp
index 0f9e672..cfa592a 100644
--- a/konversation/src/identitydialog.cpp
+++ b/konversation/src/identitydialog.cpp
@@ -90,7 +90,7 @@ namespace Konversation
 
         TQGroupBox* nicknameGBox = new TQGroupBox(0, Qt::Horizontal, i18n("Nickname"), generalWidget);
         nicknameGBox->setMargin(marginHint());
-        TQGridLayout* nicknameLayout = new TQGridLayout(nicknameGBox->tqlayout(), 1, 2, spacingHint());
+        TQGridLayout* nicknameLayout = new TQGridLayout(nicknameGBox->layout(), 1, 2, spacingHint());
 
         m_nicknameLBox = new TQListBox(nicknameGBox);
         TQWhatsThis::add(m_nicknameLBox, i18n("This is your list of nicknames. A nickname is the name that other users will know you by. You may use any name you desire. The first character must be a letter.\n\nSince nicknames must be unique across an entire IRC network, your desired name may be rejected by the server because someone else is already using that nickname. Enter alternate nicknames for yourself. If your first choice is rejected by the server, Konversation will try the alternate nicknames."));
@@ -126,7 +126,7 @@ namespace Konversation
 
         TQGroupBox* autoIdentifyGBox = new TQGroupBox(0, Qt::Horizontal, i18n("Auto Identify"), generalWidget);
         autoIdentifyGBox->setMargin(marginHint());
-        TQGridLayout* autoIdentifyLayout = new TQGridLayout(autoIdentifyGBox->tqlayout(), 1, 2, spacingHint());
+        TQGridLayout* autoIdentifyLayout = new TQGridLayout(autoIdentifyGBox->layout(), 1, 2, spacingHint());
 
         TQLabel* botLabel=new TQLabel(i18n("Ser&vice:"), autoIdentifyGBox);
         TQWhatsThis::add(botLabel,i18n("Service name can be <b><i>nickserv</i></b> or a network dependant name like  <b><i>nickserv@services.dal.net</i></b>"));
@@ -167,7 +167,7 @@ namespace Konversation
         m_automaticAwayGBox->setCheckable(true);
         m_automaticAwayGBox->setColumnLayout(0, Qt::Horizontal);
         m_automaticAwayGBox->setMargin(marginHint());
-        TQGridLayout* automaticAwayLayout = new TQGridLayout(m_automaticAwayGBox->tqlayout(), 1, 2, spacingHint());
+        TQGridLayout* automaticAwayLayout = new TQGridLayout(m_automaticAwayGBox->layout(), 1, 2, spacingHint());
 
         TQWhatsThis::add(m_automaticAwayGBox, i18n("If you check this box, Konversation will automatically set all connections using this Identity away when the screensaver starts or after a period of user inactivity configured below."));
 
@@ -198,7 +198,7 @@ namespace Konversation
         m_awayMessageGBox->setCheckable(true);
         m_awayMessageGBox->setColumnLayout(0, Qt::Horizontal);
         m_awayMessageGBox->setMargin(marginHint());
-        TQGridLayout* messagesLayout = new TQGridLayout(m_awayMessageGBox->tqlayout(), 1, 2, spacingHint());
+        TQGridLayout* messagesLayout = new TQGridLayout(m_awayMessageGBox->layout(), 1, 2, spacingHint());
 
         TQWhatsThis::add(m_awayMessageGBox, i18n("If you check this box, Konversation will automatically send the Away message to all channels joined with this Identity. <b>%s</b> is replaced with <b>msg</b>. Whenever you perform an <b>/away</b> command, the Return message will be displayed in all channels joined with this Identity."));
 
diff --git a/konversation/src/ignore_preferencesui.ui b/konversation/src/ignore_preferencesui.ui
index 88aa423..501fa89 100644
--- a/konversation/src/ignore_preferencesui.ui
+++ b/konversation/src/ignore_preferencesui.ui
@@ -145,7 +145,7 @@ the Free Software Foundation; either version 2 of the License, or
         </widget>
         <widget class="TQLayoutWidget" row="0" column="2" rowspan="3" colspan="1">
             <property name="name">
-                <cstring>tqlayout20</cstring>
+                <cstring>layout20</cstring>
             </property>
             <vbox>
                 <property name="name">
diff --git a/konversation/src/irccharsets.cpp b/konversation/src/irccharsets.cpp
index 0849cfc..692820c 100644
--- a/konversation/src/irccharsets.cpp
+++ b/konversation/src/irccharsets.cpp
@@ -130,7 +130,7 @@ namespace Konversation
 
         // setup m_shortNameAliases
         // use only [a-z0-9] for keys!
-        m_shortNameAliases["tqunicode"] = "utf8";
+        m_shortNameAliases["unicode"] = "utf8";
         m_shortNameAliases["latin1"] = "iso-8859-1";
 
         // setup m_shortNames, m_descriptiveNames, m_simplifiedShortNames
diff --git a/konversation/src/ircinput.cpp b/konversation/src/ircinput.cpp
index e76b032..7766351 100644
--- a/konversation/src/ircinput.cpp
+++ b/konversation/src/ircinput.cpp
@@ -371,7 +371,7 @@ void IRCInput::paste(bool useSelection)
 
 void IRCInput::paste()
 {
-    TQClipboard *cb = KApplication::kApplication()->tqclipboard();
+    TQClipboard *cb = KApplication::kApplication()->clipboard();
     setFocus();
 
     // Copy text from the clipboard (paste)
diff --git a/konversation/src/ircview.cpp b/konversation/src/ircview.cpp
index 94a10b5..b2711ff 100644
--- a/konversation/src/ircview.cpp
+++ b/konversation/src/ircview.cpp
@@ -645,7 +645,7 @@ TQString IRCView::createNickLine(const TQString& nick, bool encapsulateNick, boo
 
             for (uint index = 0; index < nick.length(); index++)
             {
-                nickvalue += nick[index].tqunicode();
+                nickvalue += nick[index].unicode();
             }
 
             nickColor = Preferences::nickColor((nickvalue % 8)).name();
@@ -1344,7 +1344,7 @@ bool IRCView::contextMenu(TQContextMenuEvent* ce)
                 break;
             case CopyUrl:
             {
-                TQClipboard *cb = KApplication::kApplication()->tqclipboard();
+                TQClipboard *cb = KApplication::kApplication()->clipboard();
                 cb->setText(m_urlToCopy,TQClipboard::Selection);
                 cb->setText(m_urlToCopy,TQClipboard::Clipboard);
                 break;
@@ -1621,8 +1621,8 @@ TQPopupMenu* IRCView::getPopup() const
 }
 
 // for more information about these RTFM
-//    http://www.tqunicode.org/reports/tr9/
-//    http://www.w3.org/TR/tqunicode-xml/
+//    http://www.unicode.org/reports/tr9/
+//    http://www.w3.org/TR/unicode-xml/
 TQChar IRCView::LRM = (ushort)0x200e; // Right-to-Left Mark
 TQChar IRCView::RLM = (ushort)0x200f; // Left-to-Right Mark
 TQChar IRCView::LRE = (ushort)0x202a; // Left-to-Right Embedding
diff --git a/konversation/src/konversationapplication.h b/konversation/src/konversationapplication.h
index 4795659..8651b19 100644
--- a/konversation/src/konversationapplication.h
+++ b/konversation/src/konversationapplication.h
@@ -89,7 +89,7 @@ class KonversationApplication : public KUniqueApplication
         static KonversationApplication* instance();
 
         /** For dcop and addressbook, a user can be specified as user@irc.server.net
-         *  or user\@servergroup or using the tqunicode separator symbol 0xE120 instead
+         *  or user\@servergroup or using the unicode separator symbol 0xE120 instead
          *  of the "@".  This function takes a string like the above examples, and
          *  modifies ircnick and serverOrGroup to contain the split up string.  If
          *  the string doesn't have an @ or 0xE120, ircnick is set to the
diff --git a/konversation/src/linkaddressbook/addressbook_base.cpp b/konversation/src/linkaddressbook/addressbook_base.cpp
index 48f6973..935dcd0 100644
--- a/konversation/src/linkaddressbook/addressbook_base.cpp
+++ b/konversation/src/linkaddressbook/addressbook_base.cpp
@@ -194,7 +194,7 @@ namespace Konversation
             lnick_servergroup = lnick + TQChar(0xE120) + servergroup.lower();
 
         //We should now have lnick = ircnick, and versions with servername and servergroup -
-        // like johnflux, johnflux@freenode, or johnflux@irc.kde.org    except with the tqunicode
+        // like johnflux, johnflux@freenode, or johnflux@irc.kde.org    except with the unicode
         // separator char 0xe120 instead of the @
 
         kdDebug() << "nick" << ircnick<< endl;
diff --git a/konversation/src/linkaddressbook/linkaddressbookui_base.ui b/konversation/src/linkaddressbook/linkaddressbookui_base.ui
index e67d306..1fa3c3e 100644
--- a/konversation/src/linkaddressbook/linkaddressbookui_base.ui
+++ b/konversation/src/linkaddressbook/linkaddressbookui_base.ui
@@ -125,7 +125,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
             <property name="name">
-                <cstring>tqlayout1</cstring>
+                <cstring>layout1</cstring>
             </property>
             <hbox>
                 <property name="name">
diff --git a/konversation/src/multilineedit.cpp b/konversation/src/multilineedit.cpp
index 3999bbc..b4af548 100644
--- a/konversation/src/multilineedit.cpp
+++ b/konversation/src/multilineedit.cpp
@@ -28,7 +28,7 @@ KGuiItem(i18n("Add &Quotation Indicators")))
     // Create the top level widget
     TQWidget* page=new TQWidget(this);
     setMainWidget(page);
-    // Add the tqlayout to the widget
+    // Add the layout to the widget
     TQVBoxLayout* dialogLayout=new TQVBoxLayout(page);
     dialogLayout->setSpacing(spacingHint());
     // add the text editor
diff --git a/konversation/src/nick.cpp b/konversation/src/nick.cpp
index 640003a..2f44e4d 100644
--- a/konversation/src/nick.cpp
+++ b/konversation/src/nick.cpp
@@ -238,7 +238,7 @@ void Nick::paintCell(TQPainter * p, const TQColorGroup & cg, int column, int wid
 
     if(nickInfo->isAway())
     {
-        cg2.setColor(TQColorGroup::Text, kapp->tqpalette(listView()).disabled().text());
+        cg2.setColor(TQColorGroup::Text, kapp->palette(listView()).disabled().text());
     }
 
     KListViewItem::paintCell(p,cg2,column,width,align);
diff --git a/konversation/src/nickinfo.cpp b/konversation/src/nickinfo.cpp
index 17765ca..efc218e 100644
--- a/konversation/src/nickinfo.cpp
+++ b/konversation/src/nickinfo.cpp
@@ -85,7 +85,7 @@ uint NickInfo::getNickColor()
 
         for (uint index = 0; index < m_nickname.length(); index++)
         {
-            nickvalue += m_nickname[index].tqunicode();
+            nickvalue += m_nickname[index].unicode();
         }
 
         m_nickColor = (nickvalue % 8) + 1;
diff --git a/konversation/src/queuetunerbase.ui b/konversation/src/queuetunerbase.ui
index 6bb1c7a..2a974e0 100644
--- a/konversation/src/queuetunerbase.ui
+++ b/konversation/src/queuetunerbase.ui
@@ -32,7 +32,7 @@
         </property>
         <widget class="TQLayoutWidget">
             <property name="name">
-                <cstring>tqlayout92</cstring>
+                <cstring>layout92</cstring>
             </property>
             <vbox>
                 <property name="name">
@@ -132,7 +132,7 @@
                 </property>
                 <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
                     <property name="name">
-                        <cstring>tqlayout164</cstring>
+                        <cstring>layout164</cstring>
                     </property>
                     <hbox>
                         <property name="name">
@@ -185,7 +185,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="0">
                     <property name="name">
-                        <cstring>tqlayout242</cstring>
+                        <cstring>layout242</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -239,7 +239,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="1">
                     <property name="name">
-                        <cstring>tqlayout236_2_2</cstring>
+                        <cstring>layout236_2_2</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -314,7 +314,7 @@
                 </property>
                 <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
                     <property name="name">
-                        <cstring>tqlayout163</cstring>
+                        <cstring>layout163</cstring>
                     </property>
                     <hbox>
                         <property name="name">
@@ -367,7 +367,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="1">
                     <property name="name">
-                        <cstring>tqlayout236_2</cstring>
+                        <cstring>layout236_2</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -415,7 +415,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="0">
                     <property name="name">
-                        <cstring>tqlayout240</cstring>
+                        <cstring>layout240</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -496,7 +496,7 @@
                 </property>
                 <widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
                     <property name="name">
-                        <cstring>tqlayout161</cstring>
+                        <cstring>layout161</cstring>
                     </property>
                     <hbox>
                         <property name="name">
@@ -552,7 +552,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="0">
                     <property name="name">
-                        <cstring>tqlayout237</cstring>
+                        <cstring>layout237</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -606,7 +606,7 @@
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="1">
                     <property name="name">
-                        <cstring>tqlayout236</cstring>
+                        <cstring>layout236</cstring>
                     </property>
                     <grid>
                         <property name="name">
@@ -681,7 +681,7 @@
                 </property>
                 <widget class="TQLayoutWidget">
                     <property name="name">
-                        <cstring>tqlayout88</cstring>
+                        <cstring>layout88</cstring>
                     </property>
                     <grid>
                         <property name="name">
diff --git a/konversation/src/quickbuttons_preferencesui.ui b/konversation/src/quickbuttons_preferencesui.ui
index 4e22b30..c0fd88f 100644
--- a/konversation/src/quickbuttons_preferencesui.ui
+++ b/konversation/src/quickbuttons_preferencesui.ui
@@ -63,7 +63,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="1" column="0">
             <property name="name">
-                <cstring>tqlayout3</cstring>
+                <cstring>layout3</cstring>
             </property>
             <grid>
                 <property name="name">
@@ -161,7 +161,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="0" column="1" rowspan="3" colspan="1">
             <property name="name">
-                <cstring>tqlayout1</cstring>
+                <cstring>layout1</cstring>
             </property>
             <vbox>
                 <property name="name">
diff --git a/konversation/src/quickconnectdialog.cpp b/konversation/src/quickconnectdialog.cpp
index 671b17a..0d86fcc 100644
--- a/konversation/src/quickconnectdialog.cpp
+++ b/konversation/src/quickconnectdialog.cpp
@@ -31,9 +31,9 @@ KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true)
     TQWidget* page = new TQWidget(this);
     setMainWidget(page);
 
-    TQGridLayout* tqlayout = new TQGridLayout(page, 2, 4);
-    tqlayout->setSpacing(spacingHint());
-    tqlayout->setColStretch(1, 10);
+    TQGridLayout* layout = new TQGridLayout(page, 2, 4);
+    layout->setSpacing(spacingHint());
+    layout->setColStretch(1, 10);
 
     TQLabel* hostNameLabel = new TQLabel(i18n("&Server host:"), page);
     TQString hostNameWT = i18n("Enter the host of the network here.");
@@ -66,17 +66,17 @@ KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true)
     sslCheckBox = new TQCheckBox(page, "sslCheckBox");
     sslCheckBox->setText(i18n("&Use SSL"));
 
-    tqlayout->addWidget(hostNameLabel, 0, 0);
-    tqlayout->addWidget(hostNameInput, 0, 1);
-    tqlayout->addWidget(portLabel, 0, 2);
-    tqlayout->addWidget(portInput, 0, 3);
+    layout->addWidget(hostNameLabel, 0, 0);
+    layout->addWidget(hostNameInput, 0, 1);
+    layout->addWidget(portLabel, 0, 2);
+    layout->addWidget(portInput, 0, 3);
 
-    tqlayout->addWidget(nickLabel, 1, 0);
-    tqlayout->addWidget(nickInput, 1, 1);
-    tqlayout->addWidget(passwordLabel, 1, 2);
-    tqlayout->addWidget(passwordInput, 1, 3);
+    layout->addWidget(nickLabel, 1, 0);
+    layout->addWidget(nickInput, 1, 1);
+    layout->addWidget(passwordLabel, 1, 2);
+    layout->addWidget(passwordInput, 1, 3);
 
-    tqlayout->addWidget(sslCheckBox, 2, 0);
+    layout->addWidget(sslCheckBox, 2, 0);
 
     hostNameInput->setFocus();
 
diff --git a/konversation/src/serverlistdialog.cpp b/konversation/src/serverlistdialog.cpp
index 38ad8f4..cd37cd1 100644
--- a/konversation/src/serverlistdialog.cpp
+++ b/konversation/src/serverlistdialog.cpp
@@ -133,14 +133,14 @@ namespace Konversation
         showAtStartup->setChecked(Preferences::showServerList());
         connect(showAtStartup, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setShowAtStartup(bool)));
 
-        TQGridLayout* tqlayout = new TQGridLayout(mainWidget, 5, 2, 0, spacingHint());
-
-        tqlayout->addMultiCellWidget(m_serverList, 0, 3, 0, 0);
-        tqlayout->addWidget(m_addButton, 0, 1);
-        tqlayout->addWidget(m_editButton, 1, 1);
-        tqlayout->addWidget(m_delButton, 2, 1);
-        tqlayout->addMultiCellWidget(showAtStartup, 4, 4, 0, 1);
-        tqlayout->setRowStretch(3, 10);
+        TQGridLayout* layout = new TQGridLayout(mainWidget, 5, 2, 0, spacingHint());
+
+        layout->addMultiCellWidget(m_serverList, 0, 3, 0, 0);
+        layout->addWidget(m_addButton, 0, 1);
+        layout->addWidget(m_editButton, 1, 1);
+        layout->addWidget(m_delButton, 2, 1);
+        layout->addMultiCellWidget(showAtStartup, 4, 4, 0, 1);
+        layout->setRowStretch(3, 10);
 
         m_serverList->setFocus();
 
diff --git a/konversation/src/tabs_preferencesui.ui b/konversation/src/tabs_preferencesui.ui
index 73b914c..a039acb 100644
--- a/konversation/src/tabs_preferencesui.ui
+++ b/konversation/src/tabs_preferencesui.ui
@@ -39,7 +39,7 @@ the Free Software Foundation; either version 2 of the License, or
                 </property>
                 <widget class="TQLayoutWidget">
                     <property name="name">
-                        <cstring>tqlayout2</cstring>
+                        <cstring>layout2</cstring>
                     </property>
                     <hbox>
                         <property name="name">
diff --git a/konversation/src/theme_preferencesui.ui b/konversation/src/theme_preferencesui.ui
index 90c3a2b..f804677 100644
--- a/konversation/src/theme_preferencesui.ui
+++ b/konversation/src/theme_preferencesui.ui
@@ -29,7 +29,7 @@
         </widget>
         <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
             <property name="name">
-                <cstring>tqlayout17</cstring>
+                <cstring>layout17</cstring>
             </property>
             <hbox>
                 <property name="name">
diff --git a/konversation/src/topiclabel.cpp b/konversation/src/topiclabel.cpp
index c618026..5b03382 100644
--- a/konversation/src/topiclabel.cpp
+++ b/konversation/src/topiclabel.cpp
@@ -199,7 +199,7 @@ namespace Konversation
                     break;
                 case CopyUrl:
                 {
-                    TQClipboard *cb = KApplication::kApplication()->tqclipboard();
+                    TQClipboard *cb = KApplication::kApplication()->clipboard();
                     cb->setText(m_urlToCopy,TQClipboard::Selection);
                     cb->setText(m_urlToCopy,TQClipboard::Clipboard);
                     break;
diff --git a/konversation/src/urlcatcher.cpp b/konversation/src/urlcatcher.cpp
index 76ff9e5..0fe0732 100644
--- a/konversation/src/urlcatcher.cpp
+++ b/konversation/src/urlcatcher.cpp
@@ -40,7 +40,7 @@
 
 UrlCatcher::UrlCatcher(TQWidget* parent) : ChatWindow(parent)
 {
-    tqlayout()->setAutoAdd(false);
+    layout()->setAutoAdd(false);
     setName(i18n("URL Catcher"));
     setType(ChatWindow::UrlCatcher);
 
@@ -96,9 +96,9 @@ UrlCatcher::UrlCatcher(TQWidget* parent) : ChatWindow(parent)
     saveListButton->setEnabled(false);
     clearListButton->setEnabled(false);
 
-    tqlayout()->add(searchWidget);
-    tqlayout()->add(urlListView);
-    tqlayout()->add(buttonBox);
+    layout()->add(searchWidget);
+    layout()->add(urlListView);
+    layout()->add(buttonBox);
 
     urlSelected();
 }
@@ -167,7 +167,7 @@ void UrlCatcher::copyUrlClicked()
     TQListViewItem* item=urlListView->selectedItem();
     if(item)
     {
-        TQClipboard *cb=KApplication::kApplication()->tqclipboard();
+        TQClipboard *cb=KApplication::kApplication()->clipboard();
         cb->setText(item->text(1),TQClipboard::Selection);
         cb->setText(item->text(1),TQClipboard::Clipboard);
     }
diff --git a/konversation/src/viewcontainer.cpp b/konversation/src/viewcontainer.cpp
index 7b92a86..cbb0ba6 100644
--- a/konversation/src/viewcontainer.cpp
+++ b/konversation/src/viewcontainer.cpp
@@ -1058,12 +1058,12 @@ void ViewContainer::unsetViewNotification(ChatWindow* view)
             Channel *channel = static_cast<Channel*>(view);
 
             if (!channel->joined())
-                textColor = KonversationApplication::instance()->tqpalette(m_viewTree).disabled().text();
+                textColor = KonversationApplication::instance()->palette(m_viewTree).disabled().text();
         }
         else if (view->getType() == ChatWindow::Query)
         {
             if (!view->getServer()->isConnected())
-                textColor = KonversationApplication::instance()->tqpalette(m_tabWidget).disabled().text();
+                textColor = KonversationApplication::instance()->palette(m_tabWidget).disabled().text();
         }
 
         m_viewTree->setViewColor(view, textColor);
@@ -1100,12 +1100,12 @@ void ViewContainer::unsetViewNotification(ChatWindow* view)
             Channel *channel = static_cast<Channel*>(view);
 
             if (!channel->joined())
-                textColor = KonversationApplication::instance()->tqpalette(m_tabWidget).disabled().text();
+                textColor = KonversationApplication::instance()->palette(m_tabWidget).disabled().text();
         }
         else if (view->getType() == ChatWindow::Query)
         {
             if (!view->getServer()->isConnected())
-                textColor = KonversationApplication::instance()->tqpalette(m_tabWidget).disabled().text();
+                textColor = KonversationApplication::instance()->palette(m_tabWidget).disabled().text();
         }
 
         m_tabWidget->setTabColor(view, textColor);
diff --git a/konversation/src/watchednicknames_preferencesui.ui b/konversation/src/watchednicknames_preferencesui.ui
index 6f9860b..9df9782 100644
--- a/konversation/src/watchednicknames_preferencesui.ui
+++ b/konversation/src/watchednicknames_preferencesui.ui
@@ -273,7 +273,7 @@ When the nickname watcher is turned on, you will be notified when the nicknames
                 </widget>
                 <widget class="TQLayoutWidget" row="0" column="4" rowspan="2" colspan="1">
                     <property name="name">
-                        <cstring>tqlayout3</cstring>
+                        <cstring>layout3</cstring>
                     </property>
                     <vbox>
                         <property name="name">