Browse Source

rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tags/v3.5.13
tpearson 7 years ago
parent
commit
2583f299a8
83 changed files with 238 additions and 238 deletions
  1. 4
    4
      plugin/smb4k_konqplugin.cpp
  2. 3
    3
      plugin/smb4k_konqplugin.h
  3. 2
    2
      smb4k/browser/smb4knetworkbrowser.cpp
  4. 2
    2
      smb4k/browser/smb4knetworkbrowser.h
  5. 12
    12
      smb4k/browser/smb4knetworkbrowser_part.cpp
  6. 7
    7
      smb4k/browser/smb4knetworkbrowser_part.h
  7. 6
    6
      smb4k/browser/smb4knetworkbrowseritem.cpp
  8. 6
    6
      smb4k/browser/smb4knetworkbrowseritem.h
  9. 3
    3
      smb4k/browser/smb4knetworkbrowsertooltip.cpp
  10. 2
    2
      smb4k/configdlg/smb4kauthoptions.cpp
  11. 2
    2
      smb4k/configdlg/smb4kauthoptions.h
  12. 12
    12
      smb4k/configdlg/smb4kconfigdialog.cpp
  13. 3
    3
      smb4k/configdlg/smb4kconfigdialog.h
  14. 1
    1
      smb4k/configdlg/smb4knetworkoptions.cpp
  15. 2
    2
      smb4k/configdlg/smb4knetworkoptions.h
  16. 1
    1
      smb4k/configdlg/smb4krsyncoptions.cpp
  17. 2
    2
      smb4k/configdlg/smb4krsyncoptions.h
  18. 8
    8
      smb4k/configdlg/smb4ksambaoptions.cpp
  19. 2
    2
      smb4k/configdlg/smb4ksambaoptions.h
  20. 1
    1
      smb4k/configdlg/smb4kshareoptions.cpp
  21. 2
    2
      smb4k/configdlg/smb4kshareoptions.h
  22. 2
    2
      smb4k/configdlg/smb4ksuperuseroptions.cpp
  23. 2
    2
      smb4k/configdlg/smb4ksuperuseroptions.h
  24. 2
    2
      smb4k/configdlg/smb4kuserinterfaceoptions.cpp
  25. 1
    1
      smb4k/configdlg/smb4kuserinterfaceoptions.h
  26. 2
    2
      smb4k/core/smb4kbookmarkhandler.cpp
  27. 2
    2
      smb4k/core/smb4kbookmarkhandler.h
  28. 1
    1
      smb4k/core/smb4kfileio.cpp
  29. 2
    2
      smb4k/core/smb4kfileio.h
  30. 2
    2
      smb4k/core/smb4kglobal.cpp
  31. 2
    2
      smb4k/core/smb4kglobal.h
  32. 4
    4
      smb4k/core/smb4khomesshareshandler.cpp
  33. 4
    4
      smb4k/core/smb4khomesshareshandler.h
  34. 1
    1
      smb4k/core/smb4kmounter.cpp
  35. 1
    1
      smb4k/core/smb4kmounter.h
  36. 6
    6
      smb4k/core/smb4kpasswordhandler.cpp
  37. 6
    6
      smb4k/core/smb4kpasswordhandler.h
  38. 2
    2
      smb4k/core/smb4kpreviewer.cpp
  39. 2
    2
      smb4k/core/smb4kpreviewer.h
  40. 1
    1
      smb4k/core/smb4kprint.cpp
  41. 1
    1
      smb4k/core/smb4kprint.h
  42. 4
    4
      smb4k/core/smb4ksambaoptionshandler.cpp
  43. 2
    2
      smb4k/core/smb4ksambaoptionshandler.h
  44. 2
    2
      smb4k/core/smb4kscanner.cpp
  45. 2
    2
      smb4k/core/smb4kscanner.h
  46. 4
    4
      smb4k/core/smb4ksettings.cpp
  47. 2
    2
      smb4k/core/smb4ksynchronizer.cpp
  48. 2
    2
      smb4k/core/smb4ksynchronizer.h
  49. 2
    2
      smb4k/dialogs/smb4kbookmarkeditor.cpp
  50. 2
    2
      smb4k/dialogs/smb4kbookmarkeditor.h
  51. 4
    4
      smb4k/dialogs/smb4kcustomoptionsdialog.cpp
  52. 4
    4
      smb4k/dialogs/smb4kcustomoptionsdialog.h
  53. 2
    2
      smb4k/dialogs/smb4kmountdialog.cpp
  54. 1
    1
      smb4k/dialogs/smb4kmountdialog.h
  55. 2
    2
      smb4k/dialogs/smb4kpreviewdialog.cpp
  56. 2
    2
      smb4k/dialogs/smb4kpreviewdialog.h
  57. 2
    2
      smb4k/dialogs/smb4kprintdialog.cpp
  58. 2
    2
      smb4k/dialogs/smb4kprintdialog.h
  59. 2
    2
      smb4k/dialogs/smb4ksynchronizationdialog.cpp
  60. 2
    2
      smb4k/dialogs/smb4ksynchronizationdialog.h
  61. 4
    4
      smb4k/iconview/smb4ksharesiconview.cpp
  62. 2
    2
      smb4k/iconview/smb4ksharesiconview.h
  63. 4
    4
      smb4k/iconview/smb4ksharesiconview_part.cpp
  64. 4
    4
      smb4k/iconview/smb4ksharesiconview_part.h
  65. 2
    2
      smb4k/iconview/smb4ksharesiconviewitem.cpp
  66. 2
    2
      smb4k/iconview/smb4ksharesiconviewitem.h
  67. 3
    3
      smb4k/iconview/smb4ksharesiconviewtooltip.h
  68. 3
    3
      smb4k/listview/smb4kshareslistview.cpp
  69. 2
    2
      smb4k/listview/smb4kshareslistview.h
  70. 4
    4
      smb4k/listview/smb4kshareslistview_part.cpp
  71. 4
    4
      smb4k/listview/smb4kshareslistview_part.h
  72. 2
    2
      smb4k/listview/smb4kshareslistviewitem.cpp
  73. 2
    2
      smb4k/listview/smb4kshareslistviewitem.h
  74. 3
    3
      smb4k/listview/smb4kshareslistviewtooltip.h
  75. 2
    2
      smb4k/searchdlg/smb4ksearchdialog.cpp
  76. 2
    2
      smb4k/searchdlg/smb4ksearchdialog.h
  77. 4
    4
      smb4k/searchdlg/smb4ksearchdialog_part.cpp
  78. 4
    4
      smb4k/searchdlg/smb4ksearchdialog_part.h
  79. 1
    1
      smb4k/searchdlg/smb4ksearchdialogitem.h
  80. 2
    2
      smb4k/smb4k.cpp
  81. 2
    2
      smb4k/smb4k.h
  82. 4
    4
      smb4k/smb4ksystemtray.cpp
  83. 2
    2
      smb4k/smb4ksystemtray.h

+ 4
- 4
plugin/smb4k_konqplugin.cpp View File

@@ -53,14 +53,14 @@
53 53
 #include "../smb4k/core/smb4kcore.h"
54 54
 #include "../smb4k/core/smb4kdefs.h"
55 55
 
56
-smb4kWidget::smb4kWidget( TQWidget * tqparent, const char * name, WFlags f )
57
-                 : TQVBox(tqparent, name, f)
56
+smb4kWidget::smb4kWidget( TQWidget * parent, const char * name, WFlags f )
57
+                 : TQVBox(parent, name, f)
58 58
 {
59 59
  // Nothing exciting to do !
60 60
 }
61 61
 
62
-KonqSidebar_Smb4K::KonqSidebar_Smb4K(KInstance *inst,TQObject *tqparent,TQWidget *widgetParent, TQString &desktopName, const char* name):
63
-                   KonqSidebarPlugin(inst,tqparent,widgetParent,desktopName,name)
62
+KonqSidebar_Smb4K::KonqSidebar_Smb4K(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name):
63
+                   KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name)
64 64
 {
65 65
 
66 66
   widget = new smb4kWidget( widgetParent );

+ 3
- 3
plugin/smb4k_konqplugin.h View File

@@ -45,7 +45,7 @@ class smb4kWidget : public TQVBox
45 45
 Q_OBJECT
46 46
   TQ_OBJECT
47 47
 public:
48
-    smb4kWidget( TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 );
48
+    smb4kWidget( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
49 49
 
50 50
 private:
51 51
 
@@ -60,12 +60,12 @@ public:
60 60
      * Construct a @ref KonqSidebarPlugin.
61 61
      *
62 62
      * @param inst The sidebar's kinstance class.
63
-     * @param tqparent The sidebar internal button info class responsible for this plugin.
63
+     * @param parent The sidebar internal button info class responsible for this plugin.
64 64
      * @param widgetParent The container which will contain the plugins widget.
65 65
      * @param desktopName The filename of the configuration file.
66 66
      * @param name A TQt object name for your plugin.
67 67
      **/
68
-     KonqSidebar_Smb4K(KInstance *inst,TQObject *tqparent,TQWidget *widgetParent, TQString &desktopName, const char* name=0);
68
+     KonqSidebar_Smb4K(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName, const char* name=0);
69 69
 
70 70
     /** destructor */
71 71
     ~KonqSidebar_Smb4K();

+ 2
- 2
smb4k/browser/smb4knetworkbrowser.cpp View File

@@ -37,8 +37,8 @@
37 37
 #include "../core/smb4ksettings.h"
38 38
 
39 39
 
40
-Smb4KNetworkBrowser::Smb4KNetworkBrowser( TQWidget *tqparent, const char *name )
41
-: KListView( tqparent, name )
40
+Smb4KNetworkBrowser::Smb4KNetworkBrowser( TQWidget *parent, const char *name )
41
+: KListView( parent, name )
42 42
 {
43 43
   setRootIsDecorated( true );
44 44
   setAllColumnsShowFocus( false );

+ 2
- 2
smb4k/browser/smb4knetworkbrowser.h View File

@@ -46,11 +46,11 @@ class Smb4KNetworkBrowser : public KListView
46 46
     /**
47 47
      * The constructor
48 48
      *
49
-     * @param tqparent        The tqparent widget
49
+     * @param parent        The parent widget
50 50
      *
51 51
      * @param name          The widget name
52 52
      */
53
-    Smb4KNetworkBrowser( TQWidget *tqparent = 0, const char *name = 0 );
53
+    Smb4KNetworkBrowser( TQWidget *parent = 0, const char *name = 0 );
54 54
 
55 55
     /**
56 56
      * The destructor

+ 12
- 12
smb4k/browser/smb4knetworkbrowser_part.cpp View File

@@ -62,8 +62,8 @@ KAboutData *Smb4KNetworkBrowserPartFactory::m_about = 0L;
62 62
 
63 63
 
64 64
 Smb4KNetworkBrowserPart::Smb4KNetworkBrowserPart( TQWidget *parentWidget, const char *widgetName,
65
-                                                  TQObject *tqparent, const char *name, Mode mode )
66
-: KParts::Part( tqparent, name ), m_mode( mode )
65
+                                                  TQObject *parent, const char *name, Mode mode )
66
+: KParts::Part( parent, name ), m_mode( mode )
67 67
 {
68 68
   // First of all we need an instance:
69 69
   setInstance( Smb4KNetworkBrowserPartFactory::instance() );
@@ -1264,7 +1264,7 @@ void Smb4KNetworkBrowserPart::slotAddIPAddress( Smb4KHostItem *item )
1264 1264
 
1265 1265
     Smb4KNetworkBrowserItem *host_item = static_cast<Smb4KNetworkBrowserItem *>( m_widget->findItem( item->name(), Smb4KNetworkBrowser::Network, ExactMatch|CaseSensitive ) );
1266 1266
 
1267
-    if ( host_item && host_item->tqparent() && TQString::compare( host_item->hostItem()->workgroup(), item->workgroup() ) == 0 )
1267
+    if ( host_item && host_item->parent() && TQString::compare( host_item->hostItem()->workgroup(), item->workgroup() ) == 0 )
1268 1268
     {
1269 1269
       host_item->update( item );
1270 1270
 
@@ -1346,7 +1346,7 @@ void Smb4KNetworkBrowserPart::slotInsertHost( Smb4KHostItem *item )
1346 1346
     }
1347 1347
 
1348 1348
 
1349
-    if ( !host_item || (host_item && host_item->tqparent() &&
1349
+    if ( !host_item || (host_item && host_item->parent() &&
1350 1350
          TQString::compare( host_item->hostItem()->workgroup(), item->workgroup() ) != 0) )
1351 1351
     {
1352 1352
       // The host is not there. Insert it.
@@ -1438,7 +1438,7 @@ void Smb4KNetworkBrowserPart::slotRescan()
1438 1438
         }
1439 1439
         case Smb4KNetworkBrowserItem::Share:
1440 1440
         {
1441
-          Smb4KHostItem *item = static_cast<Smb4KNetworkBrowserItem *>( browser_item->tqparent() )->hostItem();
1441
+          Smb4KHostItem *item = static_cast<Smb4KNetworkBrowserItem *>( browser_item->parent() )->hostItem();
1442 1442
           Smb4KCore::scanner()->getShares( item->workgroup(), item->name(), item->ip() );
1443 1443
 
1444 1444
           break;
@@ -1580,7 +1580,7 @@ void Smb4KNetworkBrowserPart::slotBookmark()
1580 1580
 
1581 1581
   if ( item && item->type() == Smb4KNetworkBrowserItem::Share )
1582 1582
   {
1583
-    Smb4KNetworkBrowserItem *parent_item = static_cast<Smb4KNetworkBrowserItem *>( item->tqparent() );
1583
+    Smb4KNetworkBrowserItem *parent_item = static_cast<Smb4KNetworkBrowserItem *>( item->parent() );
1584 1584
 
1585 1585
     // Add a bookmark. The alternative label can be set in the bookmark editor,
1586 1586
     // so we won't do anything about it here.
@@ -1655,8 +1655,8 @@ void Smb4KNetworkBrowserPart::slotMount()
1655 1655
 
1656 1656
   if ( browser_item && browser_item->type() == Smb4KNetworkBrowserItem::Share )
1657 1657
   {
1658
-    // If the item is a share item, get its tqparent and start mounting it:
1659
-    Smb4KNetworkBrowserItem *parent_browser_item = static_cast<Smb4KNetworkBrowserItem *>( browser_item->tqparent() );
1658
+    // If the item is a share item, get its parent and start mounting it:
1659
+    Smb4KNetworkBrowserItem *parent_browser_item = static_cast<Smb4KNetworkBrowserItem *>( browser_item->parent() );
1660 1660
 
1661 1661
     Smb4KCore::mounter()->mountShare( browser_item->shareItem()->workgroup(),
1662 1662
                                       browser_item->shareItem()->host(),
@@ -1867,7 +1867,7 @@ Smb4KNetworkBrowserPartFactory::~Smb4KNetworkBrowserPartFactory()
1867 1867
 
1868 1868
 
1869 1869
 KParts::Part *Smb4KNetworkBrowserPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
1870
-TQObject *tqparent, const char *name, const char *, const TQStringList &args )
1870
+TQObject *parent, const char *name, const char *, const TQStringList &args )
1871 1871
 {
1872 1872
   Smb4KNetworkBrowserPart *obj = NULL;
1873 1873
 
@@ -1880,18 +1880,18 @@ TQObject *tqparent, const char *name, const char *, const TQStringList &args )
1880 1880
     {
1881 1881
       if ( TQString::compare( value, "\"true\"" ) == 0 )
1882 1882
       {
1883
-        obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, tqparent, name, Smb4KNetworkBrowserPart::KonqPlugin );
1883
+        obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, parent, name, Smb4KNetworkBrowserPart::KonqPlugin );
1884 1884
       }
1885 1885
       else
1886 1886
       {
1887
-        obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, tqparent, name, Smb4KNetworkBrowserPart::Normal );
1887
+        obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, parent, name, Smb4KNetworkBrowserPart::Normal );
1888 1888
       }
1889 1889
     }
1890 1890
   }
1891 1891
 
1892 1892
   if ( !obj )
1893 1893
   {
1894
-    obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, tqparent, name, Smb4KNetworkBrowserPart::Normal );
1894
+    obj = new Smb4KNetworkBrowserPart( parentWidget, widgetName, parent, name, Smb4KNetworkBrowserPart::Normal );
1895 1895
   }
1896 1896
 
1897 1897
   return obj ;

+ 7
- 7
smb4k/browser/smb4knetworkbrowser_part.h View File

@@ -67,11 +67,11 @@ class Smb4KNetworkBrowserPart : public KParts::Part
67 67
     /**
68 68
      * The constructor.
69 69
      *
70
-     * @param parentWidget        The tqparent widget
70
+     * @param parentWidget        The parent widget
71 71
      *
72 72
      * @param widgetName          The name the widget should have
73 73
      *
74
-     * @param tqparent              The tqparent object
74
+     * @param parent              The parent object
75 75
      *
76 76
      * @param name                The name this object should have
77 77
      *
@@ -79,7 +79,7 @@ class Smb4KNetworkBrowserPart : public KParts::Part
79 79
      */
80 80
     Smb4KNetworkBrowserPart( TQWidget *parentWidget = 0,
81 81
                              const char *widgetName = 0,
82
-                             TQObject *tqparent = 0,
82
+                             TQObject *parent = 0,
83 83
                              const char *name = 0,
84 84
                              Mode mode = Normal );
85 85
 
@@ -174,7 +174,7 @@ class Smb4KNetworkBrowserPart : public KParts::Part
174 174
     /**
175 175
      * This slot receives the list of workgroup/domain members that were found
176 176
      * by the scanner. It takes this @p list and inserts it into the list view.
177
-     * The tqparent of the items is the workgroup/domain item with the name
177
+     * The parent of the items is the workgroup/domain item with the name
178 178
      * @p workgroup. Obsolete items will be deleted from the network browser.
179 179
      *
180 180
      * @param workgroup           The workgroup where the hosts belong
@@ -340,11 +340,11 @@ class Smb4KNetworkBrowserPartFactory : public KParts::Factory
340 340
      * Reimplemented from KParts::Factory. This function is used to
341 341
      * create a part object.
342 342
      *
343
-     * @param parentWidget            The tqparent of the part's widget.
343
+     * @param parentWidget            The parent of the part's widget.
344 344
      *
345 345
      * @param widgetName              The name of the part's widget.
346 346
      *
347
-     * @param tqparent                  The tqparent of the part.
347
+     * @param parent                  The parent of the part.
348 348
      *
349 349
      * @param name                    The name of the part.
350 350
      *
@@ -356,7 +356,7 @@ class Smb4KNetworkBrowserPartFactory : public KParts::Factory
356 356
      *                                konqplugin="true"|"false".
357 357
      */
358 358
     virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
359
-                                            TQObject *tqparent, const char *name,
359
+                                            TQObject *parent, const char *name,
360 360
                                             const char *classname, const TQStringList &args = TQStringList() );
361 361
 
362 362
     /**

+ 6
- 6
smb4k/browser/smb4knetworkbrowseritem.cpp View File

@@ -33,24 +33,24 @@
33 33
 // application specific includes
34 34
 #include "smb4knetworkbrowseritem.h"
35 35
 
36
-Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListView *tqparent, Smb4KWorkgroupItem *item )
37
-: KListViewItem( tqparent, item->name() ), m_type( Workgroup ), m_workgroup( *item ),
36
+Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListView *parent, Smb4KWorkgroupItem *item )
37
+: KListViewItem( parent, item->name() ), m_type( Workgroup ), m_workgroup( *item ),
38 38
 m_mounted( false )
39 39
 {
40 40
   setIcon();
41 41
 }
42 42
 
43 43
 
44
-Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListViewItem *tqparent, Smb4KHostItem *item )
45
-: KListViewItem( tqparent, item->name(), TQString(), item->ip(), item->comment()  ),
44
+Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListViewItem *parent, Smb4KHostItem *item )
45
+: KListViewItem( parent, item->name(), TQString(), item->ip(), item->comment()  ),
46 46
 m_type( Host ), m_host( *item ), m_mounted( false )
47 47
 {
48 48
   setIcon();
49 49
 }
50 50
 
51 51
 
52
-Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListViewItem *tqparent, Smb4KShareItem *item )
53
-: KListViewItem( tqparent, item->name(), item->plainType(), TQString(), item->comment() ),
52
+Smb4KNetworkBrowserItem::Smb4KNetworkBrowserItem( TQListViewItem *parent, Smb4KShareItem *item )
53
+: KListViewItem( parent, item->name(), item->plainType(), TQString(), item->comment() ),
54 54
 m_type( Share ), m_share( *item ), m_mounted( false )
55 55
 {
56 56
   setIcon();

+ 6
- 6
smb4k/browser/smb4knetworkbrowseritem.h View File

@@ -46,30 +46,30 @@ class Smb4KNetworkBrowserItem : public KListViewItem
46 46
     /**
47 47
      * The constructor for toplevel (workgroup) items.
48 48
      *
49
-     * @param tqparent        The tqparent list view.
49
+     * @param parent        The parent list view.
50 50
      *
51 51
      * @param item          The Smb4KWorkgroupItem that carries all the data
52 52
      *                      needed to set up a "workgroup item".
53 53
      */
54
-    Smb4KNetworkBrowserItem( TQListView *tqparent, Smb4KWorkgroupItem *item );
54
+    Smb4KNetworkBrowserItem( TQListView *parent, Smb4KWorkgroupItem *item );
55 55
 
56 56
     /**
57 57
      * The constructor for the host items.
58 58
      *
59
-     * @param tqparent        The tqparent list view item.
59
+     * @param parent        The parent list view item.
60 60
      *
61 61
      * @param item          The Smb4KHostItem that carries all the data.
62 62
      */
63
-    Smb4KNetworkBrowserItem( TQListViewItem *tqparent, Smb4KHostItem *item );
63
+    Smb4KNetworkBrowserItem( TQListViewItem *parent, Smb4KHostItem *item );
64 64
 
65 65
     /**
66 66
      * The constructor for the share items.
67 67
      *
68
-     * @param tqparent        The tqparent list view item.
68
+     * @param parent        The parent list view item.
69 69
      *
70 70
      * @param item          The Smb4KShareItem that carries all the data.
71 71
      */
72
-    Smb4KNetworkBrowserItem( TQListViewItem *tqparent, Smb4KShareItem *item );
72
+    Smb4KNetworkBrowserItem( TQListViewItem *parent, Smb4KShareItem *item );
73 73
 
74 74
     /**
75 75
      * The destructor.

+ 3
- 3
smb4k/browser/smb4knetworkbrowsertooltip.cpp View File

@@ -154,7 +154,7 @@ void Smb4KNetworkBrowserToolTip::setupTip()
154 154
       TQLabel *workgroup_label =  new TQLabel( i18n( "Workgroup:" ), this );
155 155
       TQLabel *workgroup =        new TQLabel( m_item->hostItem()->workgroup(), this );
156 156
 
157
-      Smb4KWorkgroupItem *workgroup_item = static_cast<Smb4KNetworkBrowserItem *>( m_item->tqparent() )->workgroupItem();
157
+      Smb4KWorkgroupItem *workgroup_item = static_cast<Smb4KNetworkBrowserItem *>( m_item->parent() )->workgroupItem();
158 158
       TQLabel *master_label =     new TQLabel( i18n( "Master browser:" ), this );
159 159
       TQLabel *master_yes_no =    new TQLabel( (workgroup_item && !workgroup_item->master().isEmpty()) ?
160 160
                                              workgroup_item->master() : i18n( "Unknown" ), this );
@@ -207,7 +207,7 @@ void Smb4KNetworkBrowserToolTip::setupTip()
207 207
       TQLabel *host_label =    new TQLabel( i18n( "Host:" ), this );
208 208
       TQLabel *host =          new TQLabel( m_item->shareItem()->host(), this );
209 209
 
210
-      Smb4KHostItem *host_item = static_cast<Smb4KNetworkBrowserItem *>( m_item->tqparent() )->hostItem();
210
+      Smb4KHostItem *host_item = static_cast<Smb4KNetworkBrowserItem *>( m_item->parent() )->hostItem();
211 211
       TQLabel *ip_label =      new TQLabel( i18n( "IP address:" ), this );
212 212
       TQLabel *ip_address =    new TQLabel( (host_item && !host_item->ip().isEmpty()) ?
213 213
                                           host_item->ip() : i18n( "Unknown" ), this, "IPAddress" );
@@ -321,7 +321,7 @@ void Smb4KNetworkBrowserToolTip::update()
321 321
 
322 322
       if ( ip_label )
323 323
       {
324
-        Smb4KHostItem *host = static_cast<Smb4KNetworkBrowserItem *>( m_item->tqparent() )->hostItem();
324
+        Smb4KHostItem *host = static_cast<Smb4KNetworkBrowserItem *>( m_item->parent() )->hostItem();
325 325
         TQString ip_string;
326 326
 
327 327
         if ( host )

+ 2
- 2
smb4k/configdlg/smb4kauthoptions.cpp View File

@@ -39,8 +39,8 @@
39 39
 // application specific includes
40 40
 #include "smb4kauthoptions.h"
41 41
 
42
-Smb4KAuthOptions::Smb4KAuthOptions( TQWidget *tqparent, const char *name )
43
-: TQWidget( tqparent, name )
42
+Smb4KAuthOptions::Smb4KAuthOptions( TQWidget *parent, const char *name )
43
+: TQWidget( parent, name )
44 44
 {
45 45
   //
46 46
   // Default Authentication

+ 2
- 2
smb4k/configdlg/smb4kauthoptions.h View File

@@ -52,11 +52,11 @@ class Smb4KAuthOptions : public TQWidget
52 52
     /**
53 53
      * The constructor.
54 54
      *
55
-     * @param tqparent          The tqparent widget
55
+     * @param parent          The parent widget
56 56
      *
57 57
      * @param name            The name of this widget
58 58
      */
59
-    Smb4KAuthOptions( TQWidget *tqparent = 0, const char *name = 0 );
59
+    Smb4KAuthOptions( TQWidget *parent = 0, const char *name = 0 );
60 60
 
61 61
     /**
62 62
      * The destructor.

+ 12
- 12
smb4k/configdlg/smb4kconfigdialog.cpp View File

@@ -74,8 +74,8 @@ bool always_use_su = false;
74 74
 bool close_dialog = false;
75 75
 
76 76
 
77
-Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *tqparent, const char *name )
78
-: KConfigDialog( tqparent, name, settings )
77
+Smb4KConfigDialog::Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent, const char *name )
78
+: KConfigDialog( parent, name, settings )
79 79
 {
80 80
   // FIXME: I guess, normally we would not need to close destructively,
81 81
   // but at the moment there are issues with the KURLRequester in file
@@ -748,26 +748,26 @@ bool Smb4KConfigDialog::checkSettings()
748 748
     issues.append( "* "+i18n( "[Authentication] The default user name has not been entered.\n" ) );
749 749
   }
750 750
 
751
-  // The file tqmask must not be empty.
752
-  KLineEdit *file_tqmask              = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_FileMask", "KLineEdit", true )) );
751
+  // The file mask must not be empty.
752
+  KLineEdit *file_mask              = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_FileMask", "KLineEdit", true )) );
753 753
 
754
-  if ( file_tqmask && file_tqmask->text().stripWhiteSpace().isEmpty() )
754
+  if ( file_mask && file_mask->text().stripWhiteSpace().isEmpty() )
755 755
   {
756 756
     ok = false;
757 757
     index++;
758 758
 
759
-    issues.append( "* "+i18n( "[Samba] The file tqmask is empty.\n" ) );
759
+    issues.append( "* "+i18n( "[Samba] The file mask is empty.\n" ) );
760 760
   }
761 761
 
762
-  // The directory tqmask must not be empty.
763
-  KLineEdit *directory_tqmask         = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_DirectoryMask", "KLineEdit", true )) );
762
+  // The directory mask must not be empty.
763
+  KLineEdit *directory_mask         = static_cast<KLineEdit *>( TQT_TQWIDGET(child( "kcfg_DirectoryMask", "KLineEdit", true )) );
764 764
 
765
-  if ( directory_tqmask && directory_tqmask->text().stripWhiteSpace().isEmpty() )
765
+  if ( directory_mask && directory_mask->text().stripWhiteSpace().isEmpty() )
766 766
   {
767 767
     ok = false;
768 768
     index++;
769 769
 
770
-    issues.append( "* "+i18n( "[Samba] The directory tqmask is empty.\n" ) );
770
+    issues.append( "* "+i18n( "[Samba] The directory mask is empty.\n" ) );
771 771
   }
772 772
 
773 773
   // The UID must not be empty.
@@ -1198,10 +1198,10 @@ KInstance *Smb4KConfigDialogFactory::instance()
1198 1198
 }
1199 1199
 
1200 1200
 
1201
-TQObject *Smb4KConfigDialogFactory::createObject( TQObject *tqparent, const char *name, const char *,
1201
+TQObject *Smb4KConfigDialogFactory::createObject( TQObject *parent, const char *name, const char *,
1202 1202
 const TQStringList & )
1203 1203
 {
1204
-  return TQT_TQOBJECT( new Smb4KConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( tqparent ), name ) );
1204
+  return TQT_TQOBJECT( new Smb4KConfigDialog( Smb4KSettings::self(), TQT_TQWIDGET( parent ), name ) );
1205 1205
 }
1206 1206
 
1207 1207
 

+ 3
- 3
smb4k/configdlg/smb4kconfigdialog.h View File

@@ -57,11 +57,11 @@ class Smb4KConfigDialog : public KConfigDialog
57 57
      * @param settings      The Smb4KSettings object that needs to be passed
58 58
      *                      so that the settings can be managed.
59 59
      *
60
-     * @param tqparent        The tqparent widget
60
+     * @param parent        The parent widget
61 61
      *
62 62
      * @param name          The name of this dialog
63 63
      */
64
-    Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *tqparent = 0, const char *name = 0 );
64
+    Smb4KConfigDialog( Smb4KSettings *settings, TQWidget *parent = 0, const char *name = 0 );
65 65
 
66 66
     /**
67 67
      * The destructor
@@ -191,7 +191,7 @@ class Smb4KConfigDialogFactory : KLibFactory
191 191
     static KInstance *instance();
192 192
 
193 193
   protected:
194
-    TQObject *createObject( TQObject *tqparent = 0, const char *name = 0,
194
+    TQObject *createObject( TQObject *parent = 0, const char *name = 0,
195 195
                            const char *classname = TQOBJECT_OBJECT_NAME_STRING,
196 196
                            const TQStringList &args = TQStringList() );
197 197
 

+ 1
- 1
smb4k/configdlg/smb4knetworkoptions.cpp View File

@@ -39,7 +39,7 @@
39 39
 #include "smb4knetworkoptions.h"
40 40
 #include "../core/smb4ksettings.h"
41 41
 
42
-Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *tqparent, const char *name ) : TQWidget( tqparent, name )
42
+Smb4KNetworkOptions::Smb4KNetworkOptions( TQWidget *parent, const char *name ) : TQWidget( parent, name )
43 43
 {
44 44
   TQGridLayout *grid = new TQGridLayout( this );
45 45
   grid->setSpacing( 10 );

+ 2
- 2
smb4k/configdlg/smb4knetworkoptions.h View File

@@ -50,11 +50,11 @@ class Smb4KNetworkOptions : public TQWidget
50 50
     /**
51 51
      * The constructor
52 52
      *
53
-     * @param tqparent        The tqparent widget
53
+     * @param parent        The parent widget
54 54
      *
55 55
      * @param name          The widget's name
56 56
      */
57
-    Smb4KNetworkOptions( TQWidget *tqparent = 0, const char *name = 0 );
57
+    Smb4KNetworkOptions( TQWidget *parent = 0, const char *name = 0 );
58 58
 
59 59
     /**
60 60
      * The destructor

+ 1
- 1
smb4k/configdlg/smb4krsyncoptions.cpp View File

@@ -41,7 +41,7 @@
41 41
 // application specific includes
42 42
 #include "smb4krsyncoptions.h"
43 43
 
44
-Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *tqparent, const char *name ) : TQTabWidget( tqparent, name )
44
+Smb4KRsyncOptions::Smb4KRsyncOptions( TQWidget *parent, const char *name ) : TQTabWidget( parent, name )
45 45
 {
46 46
   setMargin( 10 );
47 47
 

+ 2
- 2
smb4k/configdlg/smb4krsyncoptions.h View File

@@ -50,11 +50,11 @@ class Smb4KRsyncOptions : public TQTabWidget
50 50
     /**
51 51
      * The constructor.
52 52
      *
53
-     * @param tqparent        The tqparent widget
53
+     * @param parent        The parent widget
54 54
      *
55 55
      * @param name          The name of this widget
56 56
      */
57
-    Smb4KRsyncOptions( TQWidget *tqparent = 0, const char *name = 0 );
57
+    Smb4KRsyncOptions( TQWidget *parent = 0, const char *name = 0 );
58 58
 
59 59
     /**
60 60
      * The destructor

+ 8
- 8
smb4k/configdlg/smb4ksambaoptions.cpp View File

@@ -54,8 +54,8 @@
54 54
 using namespace Smb4KGlobal;
55 55
 
56 56
 
57
-Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *tqparent, const char *name )
58
-: TQTabWidget( tqparent, name )
57
+Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *parent, const char *name )
58
+: TQTabWidget( parent, name )
59 59
 {
60 60
   setMargin( 10 );
61 61
 
@@ -202,13 +202,13 @@ Smb4KSambaOptions::Smb4KSambaOptions( TQWidget *tqparent, const char *name )
202 202
                                 i18n( "Permissions" ), mount_tab );
203 203
   perms_box->setInsideSpacing( 5 );
204 204
 
205
-  (void) new TQLabel( i18n( "File tqmask:" ), perms_box );
206
-  KLineEdit *ftqmask =            new KLineEdit( perms_box, "kcfg_FileMask" );
207
-  ftqmask->tqsetAlignment( TQt::AlignRight );
205
+  (void) new TQLabel( i18n( "File mask:" ), perms_box );
206
+  KLineEdit *fmask =            new KLineEdit( perms_box, "kcfg_FileMask" );
207
+  fmask->tqsetAlignment( TQt::AlignRight );
208 208
 
209
-  (void) new TQLabel( i18n( "Directory tqmask:" ), perms_box );
210
-  KLineEdit *dtqmask =            new KLineEdit( perms_box, "kcfg_DirectoryMask" );
211
-  dtqmask->tqsetAlignment( TQt::AlignRight );
209
+  (void) new TQLabel( i18n( "Directory mask:" ), perms_box );
210
+  KLineEdit *dmask =            new KLineEdit( perms_box, "kcfg_DirectoryMask" );
211
+  dmask->tqsetAlignment( TQt::AlignRight );
212 212
 
213 213
   (void) new TQLabel( i18n( "Write access:" ), perms_box );
214 214
   KComboBox *read_mode =        new KComboBox( perms_box, "kcfg_WriteAccess" );

+ 2
- 2
smb4k/configdlg/smb4ksambaoptions.h View File

@@ -53,11 +53,11 @@ class Smb4KSambaOptions : public TQTabWidget
53 53
     /**
54 54
      * The constructor.
55 55
      *
56
-     * @param tqparent            The tqparent widget
56
+     * @param parent            The parent widget
57 57
      *
58 58
      * @param name              This widget's name
59 59
      */
60
-    Smb4KSambaOptions( TQWidget *tqparent = 0, const char *name = 0 );
60
+    Smb4KSambaOptions( TQWidget *parent = 0, const char *name = 0 );
61 61
 
62 62
     /**
63 63
      * The destructor.

+ 1
- 1
smb4k/configdlg/smb4kshareoptions.cpp View File

@@ -45,7 +45,7 @@
45 45
 #include "smb4kshareoptions.h"
46 46
 
47 47
 
48
-Smb4KShareOptions::Smb4KShareOptions( TQWidget *tqparent, const char *name ) : TQWidget( tqparent, name )
48
+Smb4KShareOptions::Smb4KShareOptions( TQWidget *parent, const char *name ) : TQWidget( parent, name )
49 49
 {
50 50
   TQGridLayout *grid = new TQGridLayout( this );
51 51
   grid->setSpacing( 10 );

+ 2
- 2
smb4k/configdlg/smb4kshareoptions.h View File

@@ -50,11 +50,11 @@ class Smb4KShareOptions : public TQWidget
50 50
     /**
51 51
      * The constructor.
52 52
      *
53
-     * @param tqparent          The tqparent of this widget
53
+     * @param parent          The parent of this widget
54 54
      *
55 55
      * @param name            The name of this widget
56 56
      */
57
-    Smb4KShareOptions( TQWidget *tqparent = 0, const char *name = 0 );
57
+    Smb4KShareOptions( TQWidget *parent = 0, const char *name = 0 );
58 58
     /**
59 59
      * The destructor.
60 60
      */

+ 2
- 2
smb4k/configdlg/smb4ksuperuseroptions.cpp View File

@@ -42,8 +42,8 @@
42 42
 #include "../core/smb4ksettings.h"
43 43
 
44 44
 
45
-Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *tqparent, const char *name )
46
-: TQWidget( tqparent, name )
45
+Smb4KSuperUserOptions::Smb4KSuperUserOptions( TQWidget *parent, const char *name )
46
+: TQWidget( parent, name )
47 47
 {
48 48
   TQGridLayout *grid =           new TQGridLayout( this );
49 49
   grid->setSpacing( 10 );

+ 2
- 2
smb4k/configdlg/smb4ksuperuseroptions.h View File

@@ -51,11 +51,11 @@ class Smb4KSuperUserOptions : public TQWidget
51 51
     /**
52 52
      * The constructor
53 53
      *
54
-     * @param tqparent      The tqparent widget
54
+     * @param parent      The parent widget
55 55
      *
56 56
      * @param name        The name of this widget
57 57
      */
58
-    Smb4KSuperUserOptions( TQWidget *tqparent = 0, const char *name = 0 );
58
+    Smb4KSuperUserOptions( TQWidget *parent = 0, const char *name = 0 );
59 59
     /**
60 60
      * The destructor
61 61
      */

+ 2
- 2
smb4k/configdlg/smb4kuserinterfaceoptions.cpp View File

@@ -37,8 +37,8 @@
37 37
 #include "smb4kuserinterfaceoptions.h"
38 38
 #include "../core/smb4ksettings.h"
39 39
 
40
-Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *tqparent, const char *name )
41
-: TQTabWidget( tqparent, name )
40
+Smb4KUserInterfaceOptions::Smb4KUserInterfaceOptions( TQWidget *parent, const char *name )
41
+: TQTabWidget( parent, name )
42 42
 {
43 43
   setMargin( 10 );
44 44
 

+ 1
- 1
smb4k/configdlg/smb4kuserinterfaceoptions.h View File

@@ -50,7 +50,7 @@ class Smb4KUserInterfaceOptions : public TQTabWidget
50 50
     /**
51 51
      * The constructor
52 52
      */
53
-    Smb4KUserInterfaceOptions( TQWidget *tqparent = 0, const char *name = 0 );
53
+    Smb4KUserInterfaceOptions( TQWidget *parent = 0, const char *name = 0 );
54 54
 
55 55
     /**
56 56
      * The destructor

+ 2
- 2
smb4k/core/smb4kbookmarkhandler.cpp View File

@@ -48,8 +48,8 @@ using namespace Smb4KGlobal;
48 48
 
49 49
 
50 50
 Smb4KBookmarkHandler::Smb4KBookmarkHandler( TQValueList<Smb4KHostItem *> *hosts,
51
-TQObject *tqparent, const char *name )
52
-: TQObject( tqparent, name ), m_hosts( hosts )
51
+TQObject *parent, const char *name )
52
+: TQObject( parent, name ), m_hosts( hosts )
53 53
 {
54 54
   // First we need the directory.
55 55
   KStandardDirs *stddir = new KStandardDirs();

+ 2
- 2
smb4k/core/smb4kbookmarkhandler.h View File

@@ -61,12 +61,12 @@ class Smb4KBookmarkHandler : public TQObject
61 61
      *                      In case a NULL pointer is passed, the bookmarks won't
62 62
      *                      be updated.
63 63
      *
64
-     * @param tqparent        The tqparent of this object
64
+     * @param parent        The parent of this object
65 65
      *
66 66
      * @param name          This object's name
67 67
      */
68 68
     Smb4KBookmarkHandler( TQValueList<Smb4KHostItem *> *hosts = 0,
69
-                          TQObject *tqparent = 0,
69
+                          TQObject *parent = 0,
70 70
                           const char *name = 0 );
71 71
 
72 72
     /**

+ 1
- 1
smb4k/core/smb4kfileio.cpp View File

@@ -54,7 +54,7 @@ using namespace Smb4KGlobal;
54 54
 
55 55
 
56 56
 
57
-Smb4KFileIO::Smb4KFileIO( TQObject *tqparent, const char *name ) : TQObject( tqparent, name )
57
+Smb4KFileIO::Smb4KFileIO( TQObject *parent, const char *name ) : TQObject( parent, name )
58 58
 {
59 59
   m_operation =      NoOperation;
60 60
   m_state =          Idle;

+ 2
- 2
smb4k/core/smb4kfileio.h View File

@@ -55,11 +55,11 @@ class Smb4KFileIO : public TQObject
55 55
     /**
56 56
      * The constructor
57 57
      *
58
-     * @param tqparent      The tqparent object of this class
58
+     * @param parent      The parent object of this class
59 59
      *
60 60
      * @param name        The name of this class
61 61
      */
62
-    Smb4KFileIO( TQObject *tqparent = 0, const char *name = 0 );
62
+    Smb4KFileIO( TQObject *parent = 0, const char *name = 0 );
63 63
 
64 64
     /**
65 65
      * The destructor

+ 2
- 2
smb4k/core/smb4kglobal.cpp View File

@@ -48,9 +48,9 @@ const int Smb4KGlobal::timerInterval()
48 48
 }
49 49
 
50 50
 
51
-const TQString Smb4KGlobal::specifyUser( const TQString &host, TQWidget *tqparent, const char *name )
51
+const TQString Smb4KGlobal::specifyUser( const TQString &host, TQWidget *parent, const char *name )
52 52
 {
53
-  return p.homesHandler()->specifyUser( host, tqparent, name );
53
+  return p.homesHandler()->specifyUser( host, parent, name );
54 54
 }
55 55
 
56 56
 

+ 2
- 2
smb4k/core/smb4kglobal.h View File

@@ -67,13 +67,13 @@ namespace Smb4KGlobal
67 67
    *
68 68
    * @param host        The host where the homes share is located
69 69
    *
70
-   * @param tqparent      The tqparent widget
70
+   * @param parent      The parent widget
71 71
    *
72 72
    * @param name        The name of this dialog
73 73
    *
74 74
    * @returns           A user name
75 75
    */
76
-  const TQString specifyUser( const TQString &host, TQWidget *tqparent = 0, const char *name = 0 );
76
+  const TQString specifyUser( const TQString &host, TQWidget *parent = 0, const char *name = 0 );
77 77
 
78 78
   /**
79 79
    * This function returns the password handler.

+ 4
- 4
smb4k/core/smb4khomesshareshandler.cpp View File

@@ -42,8 +42,8 @@
42 42
 #include "smb4kerror.h"
43 43
 
44 44
 
45
-Smb4KHomesSharesHandler::Smb4KHomesSharesHandler( TQObject *tqparent, const char *name )
46
-: TQObject( tqparent, name )
45
+Smb4KHomesSharesHandler::Smb4KHomesSharesHandler( TQObject *parent, const char *name )
46
+: TQObject( parent, name )
47 47
 {
48 48
   // First we need the directory.
49 49
   KStandardDirs *stddir = new KStandardDirs();
@@ -66,11 +66,11 @@ Smb4KHomesSharesHandler::~Smb4KHomesSharesHandler()
66 66
 }
67 67
 
68 68
 
69
-const TQString Smb4KHomesSharesHandler::specifyUser( const TQString &host, TQWidget *tqparent, const char *name )
69
+const TQString Smb4KHomesSharesHandler::specifyUser( const TQString &host, TQWidget *parent, const char *name )
70 70
 {
71 71
   TQString username = TQString();
72 72
 
73
-  m_dlg = new KDialogBase( KDialogBase::Plain, i18n( "Specify User" ), KDialogBase::User1|KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, tqparent, name, true, true );
73
+  m_dlg = new KDialogBase( KDialogBase::Plain, i18n( "Specify User" ), KDialogBase::User1|KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, parent, name, true, true );
74 74
   m_dlg->setButtonGuiItem( KDialogBase::User1, KGuiItem( i18n( "Clear List" ), "editdelete", 0, 0 ) );
75 75
   m_dlg->enableButton( KDialogBase::Ok, false );
76 76
   m_dlg->enableButton( KDialogBase::User1, false );

+ 4
- 4
smb4k/core/smb4khomesshareshandler.h View File

@@ -54,11 +54,11 @@ class Smb4KHomesSharesHandler : public TQObject
54 54
     /**
55 55
      * The constructor
56 56
      *
57
-     * @param tqparent            The tqparent object of this class
57
+     * @param parent            The parent object of this class
58 58
      *
59 59
      * @param name              The name of this class
60 60
      */
61
-    Smb4KHomesSharesHandler( TQObject *tqparent = 0, const char *name = 0 );
61
+    Smb4KHomesSharesHandler( TQObject *parent = 0, const char *name = 0 );
62 62
 
63 63
     /**
64 64
      * The destructor
@@ -72,13 +72,13 @@ class Smb4KHomesSharesHandler : public TQObject
72 72
      *
73 73
      * @param host        The host where the homes share is located
74 74
      *
75
-     * @param tqparent      The tqparent widget
75
+     * @param parent      The parent widget
76 76
      *
77 77
      * @param name        The name of this dialog
78 78
      *
79 79
      * @returns           A user name
80 80
      */
81
-    const TQString specifyUser( const TQString &host, TQWidget *tqparent = 0, const char *name = 0 );
81
+    const TQString specifyUser( const TQString &host, TQWidget *parent = 0, const char *name = 0 );
82 82
 
83 83
     /**
84 84
      * Read and return the user names that are defined for a homes share.

+ 1
- 1
smb4k/core/smb4kmounter.cpp View File

@@ -73,7 +73,7 @@
73 73
 using namespace Smb4KGlobal;
74 74
 
75 75
 
76
-Smb4KMounter::Smb4KMounter( TQObject *tqparent, const char *name ) : TQObject( tqparent, name )
76
+Smb4KMounter::Smb4KMounter( TQObject *parent, const char *name ) : TQObject( parent, name )
77 77
 {
78 78
   m_priv = new Smb4KMounterPrivate;
79 79
 

+ 1
- 1
smb4k/core/smb4kmounter.h View File

@@ -65,7 +65,7 @@ class Smb4KMounter : public TQObject
65 65
     /**
66 66
      * The constructor.
67 67
      */
68
-    Smb4KMounter( TQObject *tqparent = 0, const char *name = 0 );
68
+    Smb4KMounter( TQObject *parent = 0, const char *name = 0 );
69 69
     /**
70 70
      * The destructor.
71 71
      */

+ 6
- 6
smb4k/core/smb4kpasswordhandler.cpp View File

@@ -60,11 +60,11 @@
60 60
 
61 61
 
62 62
 #ifndef __FreeBSD__
63
-Smb4KPasswordHandler::Smb4KPasswordHandler( Smb4KHomesSharesHandler *handler, TQObject *tqparent, const char *name )
64
-: TQObject( tqparent, name ), m_handler( handler ), m_wallet_support_disabled( false )
63
+Smb4KPasswordHandler::Smb4KPasswordHandler( Smb4KHomesSharesHandler *handler, TQObject *parent, const char *name )
64
+: TQObject( parent, name ), m_handler( handler ), m_wallet_support_disabled( false )
65 65
 #else
66
-Smb4KPasswordHandler::Smb4KPasswordHandler( Smb4KHomesSharesHandler *s_handler, Smb4KSambaOptionsHandler *o_handler, TQObject *tqparent, const char *name )
67
-: TQObject( tqparent, name ), m_handler( s_handler ), m_options_handler( o_handler ),
66
+Smb4KPasswordHandler::Smb4KPasswordHandler( Smb4KHomesSharesHandler *s_handler, Smb4KSambaOptionsHandler *o_handler, TQObject *parent, const char *name )
67
+: TQObject( parent, name ), m_handler( s_handler ), m_options_handler( o_handler ),
68 68
   m_wallet_support_disabled( false )
69 69
 #endif
70 70
 {
@@ -228,14 +228,14 @@ void Smb4KPasswordHandler::convert_old_entries()
228 228
 }
229 229
 
230 230
 
231
-bool Smb4KPasswordHandler::askpass( const TQString &workgroup, const TQString &host, const TQString &share, int desc, TQWidget *tqparent, const char *name )
231
+bool Smb4KPasswordHandler::askpass( const TQString &workgroup, const TQString &host, const TQString &share, int desc, TQWidget *parent, const char *name )
232 232
 {
233 233
   // m_auth is NULL:
234 234
   m_auth = readAuth( new Smb4KAuthInfo( workgroup, host, share ) );
235 235
 
236 236
   // Set up the askpass dialog:
237 237
   m_dlg = new KDialogBase( KDialogBase::Plain, i18n( "Authentication" ), KDialogBase::Ok|KDialogBase::Cancel,
238
-                           KDialogBase::Ok, tqparent, name, true, true );
238
+                           KDialogBase::Ok, parent, name, true, true );
239 239
 
240 240
   TQFrame *frame = m_dlg->plainPage();
241 241
   TQGridLayout *tqlayout = new TQGridLayout( frame );

+ 6
- 6
smb4k/core/smb4kpasswordhandler.h View File

@@ -76,12 +76,12 @@ class Smb4KPasswordHandler : public TQObject
76 76
      *                      infos in case we need to look up authentication information for
77 77
      *                      'homes' shares.
78 78
      *
79
-     * @param tqparent        The tqparent object.
79
+     * @param parent        The parent object.
80 80
      *
81 81
      * @param name          The name this class should carry.
82 82
      */
83 83
     Smb4KPasswordHandler( Smb4KHomesSharesHandler *handler,
84
-                          TQObject *tqparent = 0,
84
+                          TQObject *parent = 0,
85 85
                           const char *name = 0 );
86 86
 #else
87 87
     /**
@@ -94,13 +94,13 @@ class Smb4KPasswordHandler : public TQObject
94 94
      * @param o_handler     The Smb4KSambaOptionsHandler object. It is needed to write the
95 95
      *                      ~/.nsmbrc file correctly.
96 96
      *
97
-     * @param tqparent        The tqparent object.
97
+     * @param parent        The parent object.
98 98
      *
99 99
      * @param name          The name this class should carry.
100 100
      */
101 101
     Smb4KPasswordHandler( Smb4KHomesSharesHandler *s_handler,
102 102
                           Smb4KSambaOptionsHandler *o_handler,
103
-                          TQObject *tqparent = 0,
103
+                          TQObject *parent = 0,
104 104
                           const char *name = 0 );
105 105
 #endif
106 106
 
@@ -122,13 +122,13 @@ class Smb4KPasswordHandler : public TQObject
122 122
      *                      Values are taken from the Smb4KPasswordHandler::AskPass::Description
123 123
      *                      enumeration.
124 124
      *
125
-     * @param tqparent        The tqparent of this dialog.
125
+     * @param parent        The parent of this dialog.
126 126
      *
127 127
      * @param name          The name of this dialog.
128 128
      *
129 129
      * @returns             TRUE if a new password has been supplied and FALSE otherwise.
130 130
      */
131
-    bool askpass( const TQString &workgroup, const TQString &host, const TQString &share, int desc, TQWidget *tqparent = 0, const char *name = 0 );
131
+    bool askpass( const TQString &workgroup, const TQString &host, const TQString &share, int desc, TQWidget *parent = 0, const char *name = 0 );
132 132
 
133 133
     /**
134 134
      * Returns the authentication data that was found for the defined share. You need to

+ 2
- 2
smb4k/core/smb4kpreviewer.cpp View File

@@ -43,8 +43,8 @@
43 43
 using namespace Smb4KGlobal;
44 44
 
45 45
 
46
-Smb4KPreviewer::Smb4KPreviewer( TQObject *tqparent, const char *name )
47
-: TQObject( tqparent, name )
46
+Smb4KPreviewer::Smb4KPreviewer( TQObject *parent, const char *name )
47
+: TQObject( parent, name )
48 48
 {
49 49
   m_item = NULL;
50 50
 

+ 2
- 2
smb4k/core/smb4kpreviewer.h View File

@@ -57,11 +57,11 @@ class Smb4KPreviewer : public TQObject
57 57
     /**
58 58
      * The constructor
59 59
      *
60
-     * @param tqparent            The tqparent object
60
+     * @param parent            The parent object
61 61
      *
62 62
      * @param name              The name of this object
63 63
      */
64
-    Smb4KPreviewer( TQObject *tqparent = 0, const char *name = 0 );
64
+    Smb4KPreviewer( TQObject *parent = 0, const char *name = 0 );
65 65
 
66 66
     /**
67 67
      * The destructor

+ 1
- 1
smb4k/core/smb4kprint.cpp View File

@@ -50,7 +50,7 @@ using namespace Smb4KGlobal;
50 50
 
51 51
 
52 52
 
53
-Smb4KPrint::Smb4KPrint( TQObject *tqparent, const char *name ) : TQObject( tqparent, name )
53
+Smb4KPrint::Smb4KPrint( TQObject *parent, const char *name ) : TQObject( parent, name )
54 54
 {
55 55
   m_proc = new KProcess( this, "PrintProcess" );
56 56
   m_proc->setUseShell( true );

+ 1
- 1
smb4k/core/smb4kprint.h View File

@@ -61,7 +61,7 @@ class Smb4KPrint : public TQObject
61 61
     /**
62 62
      * The constructor.
63 63
      */
64
-    Smb4KPrint( TQObject *tqparent = 0, const char *name = 0 );
64
+    Smb4KPrint( TQObject *parent = 0, const char *name = 0 );
65 65
 
66 66
     /**
67 67
      * The destructor.

+ 4
- 4
smb4k/core/smb4ksambaoptionshandler.cpp View File

@@ -51,8 +51,8 @@
51 51
 using namespace Smb4KGlobal;
52 52
 
53 53
 
54
-Smb4KSambaOptionsHandler::Smb4KSambaOptionsHandler( TQObject *tqparent, const char *name )
55
-: TQObject( tqparent, name )
54
+Smb4KSambaOptionsHandler::Smb4KSambaOptionsHandler( TQObject *parent, const char *name )
55
+: TQObject( parent, name )
56 56
 {
57 57
   // We need the directory.
58 58
   KStandardDirs *stddir = new KStandardDirs();
@@ -1285,11 +1285,11 @@ const TQString Smb4KSambaOptionsHandler::mountOptions( const TQString &share )
1285 1285
                    TQString() );
1286 1286
 
1287 1287
       args.append( !Smb4KSettings::fileMask().isEmpty() ?
1288
-                   TQString( "ftqmask=%1," ).tqarg( Smb4KSettings::fileMask() ) :
1288
+                   TQString( "fmask=%1," ).tqarg( Smb4KSettings::fileMask() ) :
1289 1289
                    TQString() );
1290 1290
 
1291 1291
       args.append( !Smb4KSettings::directoryMask().isEmpty() ?
1292
-                   TQString( "dtqmask=%1," ).tqarg( Smb4KSettings::directoryMask() ) :
1292
+                   TQString( "dmask=%1," ).tqarg( Smb4KSettings::directoryMask() ) :
1293 1293
                    TQString() );
1294 1294
 
1295 1295
       args.append( kerberos ? "krb," : TQString() );

+ 2
- 2
smb4k/core/smb4ksambaoptionshandler.h View File

@@ -58,11 +58,11 @@ class Smb4KSambaOptionsHandler : public TQObject
58 58
     /**
59 59
      * The constructor
60 60
      *
61
-     * @param tqparent            The tqparent object
61
+     * @param parent            The parent object
62 62
      *
63 63
      * @param name              The name of this object
64 64
      */
65
-    Smb4KSambaOptionsHandler( TQObject *tqparent = 0, const char *name = 0 );
65
+    Smb4KSambaOptionsHandler( TQObject *parent = 0, const char *name = 0 );
66 66
 
67 67
     /**
68 68
      * The destructor

+ 2
- 2
smb4k/core/smb4kscanner.cpp View File

@@ -56,8 +56,8 @@ static bool created_hosts_list = false;
56 56
 
57 57
 
58 58
 Smb4KScanner::Smb4KScanner( TQValueList<Smb4KWorkgroupItem *> *workgroups, TQValueList<Smb4KHostItem *> *hosts,
59
-TQObject *tqparent, const char *name )
60
-: TQObject( tqparent, name ), m_workgroups_list( workgroups ), m_hosts_list( hosts )
59
+TQObject *parent, const char *name )
60
+: TQObject( parent, name ), m_workgroups_list( workgroups ), m_hosts_list( hosts )
61 61
 {
62 62
   m_priv = new Smb4KScannerPrivate;
63 63
 

+ 2
- 2
smb4k/core/smb4kscanner.h View File

@@ -72,13 +72,13 @@ class Smb4KScanner : public TQObject
72 72
      *                        with the list of available hosts. If a NULL pointer is passed, a
73 73
      *                        private list will be created which cannot be accessed from outside.
74 74
      *
75
-     * @param tqparent          The tqparent of this class.
75
+     * @param parent          The parent of this class.
76 76
      *
77 77
      * @param name            The name of this class.
78 78
      */
79 79
     Smb4KScanner( TQValueList<Smb4KWorkgroupItem *> *workgroups = 0,
80 80
                   TQValueList<Smb4KHostItem *> *hosts = 0,
81
-                  TQObject *tqparent = 0,
81
+                  TQObject *parent = 0,
82 82
                   const char *name = 0 );
83 83
 
84 84
     /**

+ 4
- 4
smb4k/core/smb4ksettings.cpp View File

@@ -666,12 +666,12 @@ Smb4KSettings::Smb4KSettings(  )
666 666
   mGroupIDItem->setWhatsThis( i18n("Here you can enter the group ID (a number) that the files and directories of the mounted share will have. If you are using the CIFS file system and the remote server supports the CIFS Unix Extentions, this setting will be ignored.") );
667 667
   addItem( mGroupIDItem, TQString::tqfromLatin1( "GroupID" ) );
668 668
   mFileMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "FileMask" ), mFileMask, TQString::tqfromLatin1( "0755" ) );
669
-  mFileMaskItem->setLabel( i18n("The file tqmask for a share") );
670
-  mFileMaskItem->setWhatsThis( i18n("This is the tqmask that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
669
+  mFileMaskItem->setLabel( i18n("The file mask for a share") );
670
+  mFileMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating files. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
671 671
   addItem( mFileMaskItem, TQString::tqfromLatin1( "FileMask" ) );
672 672
   mDirectoryMaskItem = new KConfigSkeleton::ItemString( currentGroup(), TQString::tqfromLatin1( "DirectoryMask" ), mDirectoryMask, TQString::tqfromLatin1( "0755" ) );
673
-  mDirectoryMaskItem->setLabel( i18n("The directory tqmask for a share") );
674
-  mDirectoryMaskItem->setWhatsThis( i18n("This is the tqmask that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
673
+  mDirectoryMaskItem->setLabel( i18n("The directory mask for a share") );
674
+  mDirectoryMaskItem->setWhatsThis( i18n("This is the mask that will be used for creating directories. It must be defined in octal. In case the CIFS file system is used, this setting only takes effect if the server does not support the CIFS Unix Extensions.") );
675 675
   addItem( mDirectoryMaskItem, TQString::tqfromLatin1( "DirectoryMask" ) );
676 676
   TQValueList<KConfigSkeleton::ItemEnum::Choice> valuesWriteAccess;
677 677
   {

+ 2
- 2
smb4k/core/smb4ksynchronizer.cpp View File

@@ -54,8 +54,8 @@ using namespace Smb4KGlobal;
54 54
 bool cancel = false;
55 55
 
56 56
 
57
-Smb4KSynchronizer::Smb4KSynchronizer( TQObject *tqparent, const char *name )
58
-: TQObject( tqparent, name )
57
+Smb4KSynchronizer::Smb4KSynchronizer( TQObject *parent, const char *name )
58
+: TQObject( parent, name )
59 59
 {
60 60
   m_proc = new KProcess( this, "SynchronizerProcess" );
61 61
 

+ 2
- 2
smb4k/core/smb4ksynchronizer.h View File

@@ -60,11 +60,11 @@ class Smb4KSynchronizer : public TQObject
60 60
     /**
61 61
      * The constructor of the synchronizer.
62 62
      *
63
-     * @param tqparent      The tqparent of this object
63
+     * @param parent      The parent of this object
64 64
      *
65 65
      * @param name        The name of this object
66 66
      */
67
-    Smb4KSynchronizer( TQObject *tqparent = 0, const char *name = 0 );
67
+    Smb4KSynchronizer( TQObject *parent = 0, const char *name = 0 );
68 68
 
69 69
     /**
70 70
      * The destructor.

+ 2
- 2
smb4k/dialogs/smb4kbookmarkeditor.cpp View File

@@ -48,8 +48,8 @@
48 48
 using namespace Smb4KGlobal;
49 49
 
50 50
 
51
-Smb4KBookmarkEditor::Smb4KBookmarkEditor( TQWidget *tqparent, const char *name )
52
-: KDialogBase( Plain, i18n( "Bookmark Editor" ), Ok|Cancel, Ok, tqparent, name, true, true )
51
+Smb4KBookmarkEditor::Smb4KBookmarkEditor( TQWidget *parent, const char *name )
52
+: KDialogBase( Plain, i18n( "Bookmark Editor" ), Ok|Cancel, Ok, parent, name, true, true )
53 53
 {
54 54
   setWFlags( TQt::WDestructiveClose );
55 55
 

+ 2
- 2
smb4k/dialogs/smb4kbookmarkeditor.h View File

@@ -50,11 +50,11 @@ class Smb4KBookmarkEditor : public KDialogBase
50 50
     /**
51 51
      * The constructor.
52 52
      *
53
-     * @param tqparent  The tqparent of this dialog.
53
+     * @param parent  The parent of this dialog.
54 54
      *
55 55
      * @param name    The name of this dialog.
56 56
      */
57
-    Smb4KBookmarkEditor( TQWidget *tqparent = 0, const char *name = 0 );
57
+    Smb4KBookmarkEditor( TQWidget *parent = 0, const char *name = 0 );
58 58
 
59 59
     /**
60 60
      * The destructor.

+ 4
- 4
smb4k/dialogs/smb4kcustomoptionsdialog.cpp View File

@@ -89,8 +89,8 @@ static bool readwrite_changed_default = false;
89 89
 #endif
90 90
 
91 91
 
92
-Smb4KCustomOptionsDialog::Smb4KCustomOptionsDialog( Smb4KHostItem *host, TQWidget *tqparent, const char *name )
93
-: KDialogBase( Plain, i18n( "Custom Options" ), User1|Ok|Cancel, Ok, tqparent, name, true, true ), m_type( Host ), m_host_item( host ), m_share_item( NULL ), m_homes_user( TQString() )
92
+Smb4KCustomOptionsDialog::Smb4KCustomOptionsDialog( Smb4KHostItem *host, TQWidget *parent, const char *name )
93
+: KDialogBase( Plain, i18n( "Custom Options" ), User1|Ok|Cancel, Ok, parent, name, true, true ), m_type( Host ), m_host_item( host ), m_share_item( NULL ), m_homes_user( TQString() )
94 94
 {
95 95
   m_initialized = true;
96 96
 
@@ -102,8 +102,8 @@ Smb4KCustomOptionsDialog::Smb4KCustomOptionsDialog( Smb4KHostItem *host, TQWidge
102 102
 }
103 103
 
104 104
 
105
-Smb4KCustomOptionsDialog::Smb4KCustomOptionsDialog( Smb4KShareItem *share, TQWidget *tqparent, const char *name )
106
-: KDialogBase( Plain, i18n( "Custom Options" ), User1|Ok|Cancel, Ok, tqparent, name, true, true ), m_type( Share ), m_host_item( NULL ), m_share_item( share ), m_homes_user( TQString() )
105
+Smb4KCustomOptionsDialog::Smb4KCustomOptionsDialog( Smb4KShareItem *share, TQWidget *parent, const char *name )
106
+: KDialogBase( Plain, i18n( "Custom Options" ), User1|Ok|Cancel, Ok, parent, name, true, true ), m_type( Share ), m_host_item( NULL ), m_share_item( share ), m_homes_user( TQString() )
107 107
 {
108 108
   if ( TQString::compare( share->name(), "homes" ) != 0 )
109 109
   {

+ 4
- 4
smb4k/dialogs/smb4kcustomoptionsdialog.h View File

@@ -55,22 +55,22 @@ class Smb4KCustomOptionsDialog : public KDialogBase
55 55
      *
56 56
      * @param host            The host (server) for which the custom options should be defined.
57 57
      *
58
-     * @param tqparent          The tqparent of this dialog
58
+     * @param parent          The parent of this dialog
59 59
      *
60 60
      * @param name            The name of this dialog
61 61
      */
62
-    Smb4KCustomOptionsDialog( Smb4KHostItem *host, TQWidget *tqparent = 0, const char *name = 0 );
62
+    Smb4KCustomOptionsDialog( Smb4KHostItem *host, TQWidget *parent = 0, const char *name = 0 );
63 63
 
64 64
     /**
65 65
      * Another constructor, similar to the one above.
66 66
      *
67 67
      * @param share           The share for which the custom options should be defined.
68 68
      *
69
-     * @param tqparent          The tqparent of this dialog
69
+     * @param parent          The parent of this dialog
70 70
      *
71 71
      * @param name            The name of this dialog
72 72
      */
73
-    Smb4KCustomOptionsDialog( Smb4KShareItem *share, TQWidget *tqparent = 0, const char *name = 0 );
73
+    Smb4KCustomOptionsDialog( Smb4KShareItem *share, TQWidget *parent = 0, const char *name = 0 );
74 74
 
75 75
     /**
76 76
      * The destructor

+ 2
- 2
smb4k/dialogs/smb4kmountdialog.cpp View File

@@ -44,8 +44,8 @@
44 44
 #include "../core/smb4kcore.h"
45 45
 #include "../smb4k.h"
46 46
 
47
-Smb4KMountDialog::Smb4KMountDialog( TQWidget *tqparent, const char *name ) :
48
-KDialogBase( Plain, i18n( "Mount Share" ), Ok|Cancel, Ok, tqparent, name, true, true )
47
+Smb4KMountDialog::Smb4KMountDialog( TQWidget *parent, const char *name ) :
48
+KDialogBase( Plain, i18n( "Mount Share" ), Ok|Cancel, Ok, parent, name, true, true )
49 49
 {
50 50
   setWFlags( TQt::WDestructiveClose );
51 51
 

+ 1
- 1
smb4k/dialogs/smb4kmountdialog.h View File

@@ -53,7 +53,7 @@ class Smb4KMountDialog : public KDialogBase
53 53
     /**
54 54
      * The constructor.
55 55
      */
56
-    Smb4KMountDialog( TQWidget *tqparent = 0, const char *name = 0 );
56
+    Smb4KMountDialog( TQWidget *parent = 0, const char *name = 0 );
57 57
     /**
58 58
      * The destructor.
59 59
      */

+ 2
- 2
smb4k/dialogs/smb4kpreviewdialog.cpp View File

@@ -42,8 +42,8 @@
42 42
 #include "../core/smb4ksettings.h"
43 43
 
44 44
 
45
-Smb4KPreviewDialog::Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *tqparent, const char *name )
46
-: KDialogBase( Plain, i18n( "Preview" ), Close, Close, tqparent, name, false, true )
45
+Smb4KPreviewDialog::Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *parent, const char *name )
46
+: KDialogBase( Plain, i18n( "Preview" ), Close, Close, parent, name, false, true )
47 47
 {
48 48
   setWFlags( TQt::WDestructiveClose );
49 49
 

+ 2
- 2
smb4k/dialogs/smb4kpreviewdialog.h View File

@@ -63,11 +63,11 @@ class Smb4KPreviewDialog : public KDialogBase
63 63
      *
64 64
      * @param item          The Smb4KShareItem object.
65 65
      *
66
-     * @param tqparent        The tqparent of this widget
66
+     * @param parent        The parent of this widget
67 67
      *
68 68
      * @param name          The name of this widget
69 69
      */
70
-    Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *tqparent = 0, const char *name = 0 );
70
+    Smb4KPreviewDialog( Smb4KShareItem *item, TQWidget *parent = 0, const char *name = 0 );
71 71
 
72 72
     /**
73 73
      * The destructor.

+ 2
- 2
smb4k/dialogs/smb4kprintdialog.cpp View File

@@ -42,8 +42,8 @@
42 42
 #include "../core/smb4knetworkitems.h"
43 43
 
44 44
 
45
-Smb4KPrintDialog::Smb4KPrintDialog( Smb4KShareItem *item, TQWidget *tqparent, const char *name )
46
-: KDialogBase( Plain, i18n( "Print File" ), Details|Filler|User1|Cancel, User1, tqparent, name, true, true ),
45
+Smb4KPrintDialog::Smb4KPrintDialog( Smb4KShareItem *item, TQWidget *parent, const char *name )
46
+: KDialogBase( Plain, i18n( "Print File" ), Details|Filler|User1|Cancel, User1, parent, name, true, true ),
47 47
 m_item( item ), m_ip( TQString() ) /* will collect it in an instant */
48 48
 {
49 49
   setWFlags( TQt::WDestructiveClose );

+ 2
- 2
smb4k/dialogs/smb4kprintdialog.h View File

@@ -59,11 +59,11 @@ class Smb4KPrintDialog : public KDialogBase
59 59
      *
60 60
      * @param item        The Smb4KShareItem of the printer.
61 61
      *
62
-     * @param tqparent      The tqparent widget of this dialog.
62
+     * @param parent      The parent widget of this dialog.
63 63
      *
64 64
      * @param name        The name of this dialog.
65 65
      */
66
-    Smb4KPrintDialog( Smb4KShareItem *item, TQWidget *tqparent = 0, const char *name = 0 );
66
+    Smb4KPrintDialog( Smb4KShareItem *item, TQWidget *parent = 0, const char *name = 0 );
67 67
     /**
68 68
      * The destructor
69 69
      */

+ 2
- 2
smb4k/dialogs/smb4ksynchronizationdialog.cpp View File

@@ -43,8 +43,8 @@
43 43
 #include "../core/smb4ksynchronizationinfo.h"
44 44
 #include "../core/smb4ksettings.h"
45 45
 
46
-Smb4KSynchronizationDialog::Smb4KSynchronizationDialog( Smb4KShare *share, TQWidget *tqparent, const char *name )
47
-: KDialogBase( Plain, i18n( "Synchronization" ), User2|User1|Cancel, User1, tqparent, name, false, true ),
46
+Smb4KSynchronizationDialog::Smb4KSynchronizationDialog( Smb4KShare *share, TQWidget *parent, const char *name )
47
+: KDialogBase( Plain, i18n( "Synchronization" ), User2|User1|Cancel, User1, parent, name, false, true ),
48 48
 m_share( share )
49 49
 {
50 50
   setWFlags( TQt::WDestructiveClose );

+ 2
- 2
smb4k/dialogs/smb4ksynchronizationdialog.h View File

@@ -57,11 +57,11 @@ class Smb4KSynchronizationDialog : public KDialogBase
57 57
      *
58 58
      * @param share         The share item
59 59
      *
60
-     * @param tqparent        The tqparent widget
60
+     * @param parent        The parent widget
61 61
      *
62 62
      * @param name          The name of this dialog
63 63
      */
64
-    Smb4KSynchronizationDialog( Smb4KShare *share, TQWidget *tqparent = 0, const char *name = 0 );
64
+    Smb4KSynchronizationDialog( Smb4KShare *share, TQWidget *parent = 0, const char *name = 0 );
65 65
 
66 66
     /**
67 67
      * The destructor

+ 4
- 4
smb4k/iconview/smb4ksharesiconview.cpp View File

@@ -38,8 +38,8 @@
38 38
 #include "../core/smb4kcore.h"
39 39
 
40 40
 
41
-Smb4KSharesIconView::Smb4KSharesIconView( TQWidget *tqparent, const char *name )
42
-: KIconView( tqparent, name )
41
+Smb4KSharesIconView::Smb4KSharesIconView( TQWidget *parent, const char *name )
42
+: KIconView( parent, name )
43 43
 {
44 44
   setSelectionMode( KIconView::Single ); // If this is changed, revise dragObject() function.
45 45
   setResizeMode( KIconView::Adjust );
@@ -62,7 +62,7 @@ Smb4KSharesIconView::Smb4KSharesIconView( TQWidget *tqparent, const char *name )
62 62
 
63 63
 Smb4KSharesIconView::~Smb4KSharesIconView()
64 64
 {
65
-  // The tool tip's tqparent is 0 and not this icon view.
65
+  // The tool tip's parent is 0 and not this icon view.
66 66
   if ( m_tooltip )
67 67
   {
68 68
     delete m_tooltip;
@@ -150,7 +150,7 @@ void Smb4KSharesIconView::contentsDropEvent( TQDropEvent *e )
150 150
   {
151 151
     if ( dest.equals( *it, true ) )
152 152
     {
153
-      if ( e->source() == this || TQT_BASE_OBJECT(e->source()->tqparent()) == TQT_BASE_OBJECT(this) )
153
+      if ( e->source() == this || TQT_BASE_OBJECT(e->source()->parent()) == TQT_BASE_OBJECT(this) )
154 154
       {
155 155
         e->ignore();
156 156
 

+ 2
- 2
smb4k/iconview/smb4ksharesiconview.h View File

@@ -57,11 +57,11 @@ class Smb4KSharesIconView : public KIconView
57 57
     /**
58 58
      * The constructor.
59 59
      *
60
-     * @param tqparent          The tqparent widget
60
+     * @param parent          The parent widget
61 61
      *
62 62
      * @param name            The name of the widget
63 63
      */
64
-    Smb4KSharesIconView( TQWidget *tqparent = 0, const char *name = 0 );
64
+    Smb4KSharesIconView( TQWidget *parent = 0, const char *name = 0 );
65 65
 
66 66
     /**
67 67
      * The destructor.

+ 4
- 4
smb4k/iconview/smb4ksharesiconview_part.cpp View File

@@ -52,8 +52,8 @@ KAboutData *Smb4KSharesIconViewPartFactory::m_about = 0L;
52 52
 
53 53
 
54 54
 Smb4KSharesIconViewPart::Smb4KSharesIconViewPart( TQWidget *parentWidget, const char *widgetName,
55
-                                                  TQObject *tqparent, const char *name )
56
-: KParts::Part( tqparent, name )
55
+                                                  TQObject *parent, const char *name )
56
+: KParts::Part( parent, name )
57 57
 {
58 58
   // First of all We need an instance:
59 59
   setInstance( Smb4KSharesIconViewPartFactory::instance() );
@@ -528,9 +528,9 @@ Smb4KSharesIconViewPartFactory::~Smb4KSharesIconViewPartFactory()
528 528
 
529 529
 
530 530
 KParts::Part *Smb4KSharesIconViewPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
531
-TQObject *tqparent, const char *name, const char *, const TQStringList & )
531
+TQObject *parent, const char *name, const char *, const TQStringList & )
532 532
 {
533
-  Smb4KSharesIconViewPart *obj = new Smb4KSharesIconViewPart( parentWidget, widgetName, tqparent, name );
533
+  Smb4KSharesIconViewPart *obj = new Smb4KSharesIconViewPart( parentWidget, widgetName, parent, name );
534 534
 
535 535
   // See if we are to be read-write or not
536 536
 //   if (TQCString(classname) == "KParts::ReadOnlyPart")

+ 4
- 4
smb4k/iconview/smb4ksharesiconview_part.h View File

@@ -54,16 +54,16 @@ class Smb4KSharesIconViewPart : public KParts::Part
54 54
     /**
55 55
      * The constructor.
56 56
      *
57
-     * @param parentWidget        The tqparent widget
57
+     * @param parentWidget        The parent widget
58 58
      *
59 59
      * @param widgetName          The name the widget should have
60 60
      *
61
-     * @param tqparent              The tqparent object
61
+     * @param parent              The parent object
62 62
      *
63 63
      * @param name                The name this object should have
64 64
      */
65 65
     Smb4KSharesIconViewPart( TQWidget *parentWidget = 0, const char *widgetName = 0,
66
-                             TQObject *tqparent = 0, const char *name = 0 );
66
+                             TQObject *parent = 0, const char *name = 0 );
67 67
 
68 68
     /**
69 69
      * The destructor.
@@ -210,7 +210,7 @@ class Smb4KSharesIconViewPartFactory : public KParts::Factory
210 210
      * Reimplemented from KParts::Factory
211 211
      */
212 212
     virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
213
-                                            TQObject *tqparent, const char *name,
213
+                                            TQObject *parent, const char *name,
214 214
                                             const char *classname, const TQStringList &args );
215 215
 
216 216
     /**

+ 2
- 2
smb4k/iconview/smb4ksharesiconviewitem.cpp View File

@@ -35,8 +35,8 @@
35 35
 #include "smb4ksharesiconview.h"
36 36
 
37 37
 Smb4KSharesIconViewItem::Smb4KSharesIconViewItem( Smb4KShare *share, bool mountpoint,
38
-                                                  Smb4KSharesIconView *tqparent )
39
-: KIconViewItem( tqparent, TQString() ), m_share( *share ), m_mountpoint( mountpoint ),
38
+                                                  Smb4KSharesIconView *parent )
39
+: KIconViewItem( parent, TQString() ), m_share( *share ), m_mountpoint( mountpoint ),
40 40
   m_initial_setup( false )
41 41
 {
42 42
   setDropEnabled( true );

+ 2
- 2
smb4k/iconview/smb4ksharesiconviewitem.h View File

@@ -62,11 +62,11 @@ class Smb4KSharesIconViewItem : public KIconViewItem
62 62
      * @param mountpoint    Tells the item if the mount point instead of the
63 63
      *                      share name should be shown. Default is FALSE.
64 64
      *
65
-     * @param tqparent        The tqparent widget of this item.
65
+     * @param parent        The parent widget of this item.
66 66
      */
67 67
     Smb4KSharesIconViewItem( Smb4KShare *share,
68 68
                              bool mountpoint = false,
69
-                             Smb4KSharesIconView *tqparent = 0 );
69
+                             Smb4KSharesIconView *parent = 0 );
70 70
 
71 71
     /**
72 72
      * The destructor

+ 3
- 3
smb4k/iconview/smb4ksharesiconviewtooltip.h View File

@@ -54,9 +54,9 @@ class Smb4KSharesIconViewToolTip : public TQLabel
54 54
     /**
55 55
      * The constructor.
56 56
      *
57
-     * Please note that the tqparent of the tool tip will be '0' and
58
-     * not the tqparent widget of @p item. Thus, you have to delete the
59
-     * tool tip object in the destructor of the tqparent widget.
57
+     * Please note that the parent of the tool tip will be '0' and
58
+     * not the parent widget of @p item. Thus, you have to delete the
59
+     * tool tip object in the destructor of the parent widget.
60 60
      *
61 61
      * @param item        The item for which the tool tip should be shown.
62 62
      */

+ 3
- 3
smb4k/listview/smb4kshareslistview.cpp View File

@@ -39,8 +39,8 @@
39 39
 #include "smb4kshareslistviewtooltip.h"
40 40
 #include "../core/smb4ksettings.h"
41 41
 
42
-Smb4KSharesListView::Smb4KSharesListView( TQWidget *tqparent, const char *name )
43
-: KListView( tqparent, name )
42
+Smb4KSharesListView::Smb4KSharesListView( TQWidget *parent, const char *name )
43
+: KListView( parent, name )
44 44
 {
45 45
   setSelectionModeExt( KListView::Single );
46 46
   setAllColumnsShowFocus( false );
@@ -155,7 +155,7 @@ void Smb4KSharesListView::contentsDropEvent( TQDropEvent *e )
155 155
   {
156 156
     if ( dest.equals( *it, true ) )
157 157
     {
158
-      if ( e->source() == this || TQT_BASE_OBJECT(e->source()->tqparent()) == TQT_BASE_OBJECT(this) )
158
+      if ( e->source() == this || TQT_BASE_OBJECT(e->source()->parent()) == TQT_BASE_OBJECT(this) )
159 159
       {
160 160
         e->ignore();
161 161
 

+ 2
- 2
smb4k/listview/smb4kshareslistview.h View File

@@ -52,11 +52,11 @@ class Smb4KSharesListView : public KListView
52 52
     /**
53 53
      * The constructor
54 54
      *
55
-     * @param tqparent        The tqparent widget
55
+     * @param parent        The parent widget
56 56
      *
57 57
      * @param name          The name of this object
58 58
      */
59
-    Smb4KSharesListView( TQWidget *tqparent = 0, const char *name = 0 );
59
+    Smb4KSharesListView( TQWidget *parent = 0, const char *name = 0 );
60 60
 
61 61
     /**
62 62
      * The destructor

+ 4
- 4
smb4k/listview/smb4kshareslistview_part.cpp View File

@@ -55,8 +55,8 @@ KAboutData *Smb4KSharesListViewPartFactory::m_about = 0L;
55 55
 
56 56
 
57 57
 Smb4KSharesListViewPart::Smb4KSharesListViewPart( TQWidget *parentWidget, const char *widgetName,
58
-                                                  TQObject *tqparent, const char *name )
59
-: KParts::Part( tqparent, name )
58
+                                                  TQObject *parent, const char *name )
59
+: KParts::Part( parent, name )
60 60
 {
61 61
   // First of all We need an instance:
62 62
   setInstance( Smb4KSharesListViewPartFactory::instance() );
@@ -655,9 +655,9 @@ Smb4KSharesListViewPartFactory::~Smb4KSharesListViewPartFactory()
655 655
 
656 656
 
657 657
 KParts::Part *Smb4KSharesListViewPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
658
-TQObject *tqparent, const char *name, const char *, const TQStringList & )
658
+TQObject *parent, const char *name, const char *, const TQStringList & )
659 659
 {
660
-  Smb4KSharesListViewPart *obj = new Smb4KSharesListViewPart( parentWidget, widgetName, tqparent, name );
660
+  Smb4KSharesListViewPart *obj = new Smb4KSharesListViewPart( parentWidget, widgetName, parent, name );
661 661
 
662 662
   // See if we are to be read-write or not
663 663
 //   if (TQCString(classname) == "KParts::ReadOnlyPart")

+ 4
- 4
smb4k/listview/smb4kshareslistview_part.h View File

@@ -54,16 +54,16 @@ class Smb4KSharesListViewPart : public KParts::Part
54 54
     /**
55 55
      * The constructor.
56 56
      *
57
-     * @param parentWidget        The tqparent widget
57
+     * @param parentWidget        The parent widget
58 58
      *
59 59
      * @param widgetName          The name the widget should have
60 60
      *
61
-     * @param tqparent              The tqparent object
61
+     * @param parent              The parent object
62 62
      *
63 63
      * @param name                The name this object should have
64 64
      */
65 65
     Smb4KSharesListViewPart( TQWidget *parentWidget = 0, const char *widgetName = 0,
66
-                             TQObject *tqparent = 0, const char *name = 0 );
66
+                             TQObject *parent = 0, const char *name = 0 );
67 67
 
68 68
     /**
69 69
      * The destructor.
@@ -212,7 +212,7 @@ class Smb4KSharesListViewPartFactory : public KParts::Factory
212 212
      * Reimplemented from KParts::Factory
213 213
      */
214 214
     virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
215
-                                            TQObject *tqparent, const char *name,
215
+                                            TQObject *parent, const char *name,
216 216
                                             const char *classname, const TQStringList &args );
217 217
 
218 218
     /**

+ 2
- 2
smb4k/listview/smb4kshareslistviewitem.cpp View File

@@ -37,8 +37,8 @@
37 37
 
38 38
 
39 39
 Smb4KSharesListViewItem::Smb4KSharesListViewItem( Smb4KShare *share, bool mountpoint,
40
-                                                  Smb4KSharesListView *tqparent )
41
-: KListViewItem( tqparent ), m_share( *share ), m_mountpoint( mountpoint ),
40
+                                                  Smb4KSharesListView *parent )
41
+: KListViewItem( parent ), m_share( *share ), m_mountpoint( mountpoint ),
42 42
   m_initial_setup( true )
43 43
 {
44 44
   setDropEnabled( true );

+ 2
- 2
smb4k/listview/smb4kshareslistviewitem.h View File

@@ -62,11 +62,11 @@ class Smb4KSharesListViewItem : public KListViewItem
62 62
      * @param mountpoint    Tells the item if the mount point instead of the
63 63
      *                      share name should be shown. Default is FALSE.
64 64
      *
65
-     * @param tqparent        The tqparent widget of this item.
65
+     * @param parent        The parent widget of this item.
66 66
      */
67 67
     Smb4KSharesListViewItem( Smb4KShare *share,
68 68
                              bool mountpoint = false,
69
-                             Smb4KSharesListView *tqparent = 0 );
69
+                             Smb4KSharesListView *parent = 0 );
70 70
 
71 71
     /**
72 72
      * The destructor

+ 3
- 3
smb4k/listview/smb4kshareslistviewtooltip.h View File

@@ -54,9 +54,9 @@ class Smb4KSharesListViewToolTip : public TQLabel
54 54
     /**
55 55
      * The constructor.
56 56
      *
57
-     * Please note that the tqparent of the tool tip will be '0' and
58
-     * not the tqparent widget of @p item. Thus, you have to delete the
59
-     * tool tip object in the destructor of the tqparent widget.
57
+     * Please note that the parent of the tool tip will be '0' and
58
+     * not the parent widget of @p item. Thus, you have to delete the
59
+     * tool tip object in the destructor of the parent widget.
60 60
      *
61 61
      * @param item        The item for which the tool tip should be shown.
62 62
      */

+ 2
- 2
smb4k/searchdlg/smb4ksearchdialog.cpp View File

@@ -38,8 +38,8 @@
38 38
 #include "smb4ksearchdialogitem.h"
39 39
 #include "../core/smb4knetworkitems.h"
40 40
 
41
-Smb4KSearchDialog::Smb4KSearchDialog( TQWidget *tqparent, const char *name )
42
-: TQWidget( tqparent, name )
41
+Smb4KSearchDialog::Smb4KSearchDialog( TQWidget *parent, const char *name )
42
+: TQWidget( parent, name )
43 43
 {
44 44
   TQGridLayout *tqlayout = new TQGridLayout( this );
45 45
   tqlayout->setSpacing( 5 );

+ 2
- 2
smb4k/searchdlg/smb4ksearchdialog.h View File

@@ -59,11 +59,11 @@ class Smb4KSearchDialog : public TQWidget
59 59
     /**
60 60
      * The constructor.
61 61
      *
62
-     * @param tqparent      The tqparent widget
62
+     * @param parent      The parent widget
63 63
      *
64 64
      * @param name        The name of this widget
65 65
      */
66
-    Smb4KSearchDialog( TQWidget *tqparent = 0, const char *name = 0 );
66
+    Smb4KSearchDialog( TQWidget *parent = 0, const char *name = 0 );
67 67
 
68 68
     /**
69 69
      * The destructor.

+ 4
- 4
smb4k/searchdlg/smb4ksearchdialog_part.cpp View File

@@ -49,8 +49,8 @@ KAboutData *Smb4KSearchDialogPartFactory::m_about = 0L;
49 49
 
50 50
 
51 51
 Smb4KSearchDialogPart::Smb4KSearchDialogPart( TQWidget *parentWidget, const char *widgetName,
52
-                                              TQObject *tqparent, const char *name )
53
-: KParts::Part( tqparent, name )
52
+                                              TQObject *parent, const char *name )
53
+: KParts::Part( parent, name )
54 54
 {
55 55
   // First of all we need an instance:
56 56
   setInstance( Smb4KSearchDialogPartFactory::instance() );
@@ -233,9 +233,9 @@ Smb4KSearchDialogPartFactory::~Smb4KSearchDialogPartFactory()
233 233
 
234 234
 
235 235
 KParts::Part *Smb4KSearchDialogPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
236
-TQObject *tqparent, const char *name, const char *, const TQStringList & )
236
+TQObject *parent, const char *name, const char *, const TQStringList & )
237 237
 {
238
-  Smb4KSearchDialogPart *obj = new Smb4KSearchDialogPart( parentWidget, widgetName, tqparent, name );
238
+  Smb4KSearchDialogPart *obj = new Smb4KSearchDialogPart( parentWidget, widgetName, parent, name );
239 239
 
240 240
   // See if we are to be read-write or not
241 241
 //   if (TQCString(classname) == "KParts::ReadOnlyPart")

+ 4
- 4
smb4k/searchdlg/smb4ksearchdialog_part.h View File

@@ -58,16 +58,16 @@ class Smb4KSearchDialogPart : public KParts::Part
58 58
     /**
59 59
      * The constructor.
60 60
      *
61
-     * @param parentWidget        The tqparent widget
61
+     * @param parentWidget        The parent widget
62 62
      *
63 63
      * @param widgetName          The name the widget should have
64 64
      *
65
-     * @param tqparent              The tqparent object
65
+     * @param parent              The parent object
66 66
      *
67 67
      * @param name                The name this object should have
68 68
      */
69 69
     Smb4KSearchDialogPart( TQWidget *parentWidget = 0, const char *widgetName = 0,
70
-                           TQObject *tqparent = 0, const char *name = 0 );
70
+                           TQObject *parent = 0, const char *name = 0 );
71 71
 
72 72
     /**
73 73
      * The destructor.
@@ -150,7 +150,7 @@ class Smb4KSearchDialogPartFactory : public KParts::Factory
150 150
      * Reimplemented from KParts::Factory
151 151
      */
152 152
     virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
153
-                                            TQObject *tqparent, const char *name,
153
+                                            TQObject *parent, const char *name,
154 154
                                             const char *classname, const TQStringList &args );
155 155
 
156 156
     /**

+ 1
- 1
smb4k/searchdlg/smb4ksearchdialogitem.h View File

@@ -56,7 +56,7 @@ class Smb4KSearchDialogItem : public KListViewItem
56 56
      * text according to the contents of @p item. If the search failed
57 57
      * and @p item is empty, an error message will be displayed.
58 58
      *
59
-     * @param listBox           The tqparent list box.
59
+     * @param listBox           The parent list box.
60 60
      *
61 61
      * @param item              The host item that represents the search
62 62
      *                          result.

+ 2
- 2
smb4k/smb4k.cpp View File

@@ -54,8 +54,8 @@
54 54
 using namespace Smb4KGlobal;
55 55
 
56 56
 
57
-Smb4KApp::Smb4KApp( TQWidget *tqparent, const char *name )
58
-: KParts::DockMainWindow( tqparent, name )
57
+Smb4KApp::Smb4KApp( TQWidget *parent, const char *name )
58
+: KParts::DockMainWindow( parent, name )
59 59
 {
60 60
   m_system_tray = NULL;
61 61
 

+ 2
- 2
smb4k/smb4k.h View File

@@ -52,11 +52,11 @@ class Smb4KApp : public KParts::DockMainWindow
52 52
     /**
53 53
      * The constructor.
54 54
      *
55
-     * @param tqparent        The tqparent of this widget
55
+     * @param parent        The parent of this widget
56 56
      *
57 57
      * @param name          The name of this widget
58 58
      */
59
-    Smb4KApp( TQWidget *tqparent = 0, const char *name = 0 );
59
+    Smb4KApp( TQWidget *parent = 0, const char *name = 0 );
60 60
 
61 61
     /**
62 62
      * The destructor.

+ 4
- 4
smb4k/smb4ksystemtray.cpp View File

@@ -51,8 +51,8 @@
51 51
 #include "core/smb4ksettings.h"
52 52
 
53 53
 
54
-Smb4KSystemTray::Smb4KSystemTray( TQWidget *tqparent, const char *name )
55
-: KSystemTray( tqparent, name )
54
+Smb4KSystemTray::Smb4KSystemTray( TQWidget *parent, const char *name )
55
+: KSystemTray( parent, name )
56 56
 {
57 57
   setPixmap( loadIcon( "smb4k" ) );
58 58
 
@@ -98,7 +98,7 @@ Smb4KSystemTray::Smb4KSystemTray( TQWidget *tqparent, const char *name )
98 98
   connect( Smb4KCore::mounter(),         TQT_SIGNAL( updated() ),
99 99
            this,                         TQT_SLOT( slotSetupSharesMenu() ) );
100 100
 
101
-  // Connection to quitSelected() signal must be done in tqparent widget.
101
+  // Connection to quitSelected() signal must be done in parent widget.
102 102
 }
103 103
 
104 104
 
@@ -219,7 +219,7 @@ void Smb4KSystemTray::slotConfigDialog()
219 219
 
220 220
 void Smb4KSystemTray::slotSettingsChanged()
221 221
 {
222
-  // Notify the tqparent that the settings changed:
222
+  // Notify the parent that the settings changed:
223 223
   emit settingsChanged();
224 224
 
225 225
   // Execute loadSettings():

+ 2
- 2
smb4k/smb4ksystemtray.h View File

@@ -43,11 +43,11 @@ class Smb4KSystemTray : public KSystemTray
43 43
     /**
44 44
      * The constructor.
45 45
      *
46
-     * @param tqparent        The tqparent widget of the system tray window
46
+     * @param parent        The parent widget of the system tray window
47 47
      *
48 48
      * @param name          The name of the system tray window
49 49
      */
50
-    Smb4KSystemTray( TQWidget *tqparent = 0, const char *name = 0 );
50
+    Smb4KSystemTray( TQWidget *parent = 0, const char *name = 0 );
51 51
 
52 52
     /**
53 53
      * The destructor.

Loading…
Cancel
Save