Browse Source

Rename old tq methods that no longer need a unique name

tags/r14.0.0
Timothy Pearson 8 years ago
parent
commit
089118c185
100 changed files with 764 additions and 764 deletions
  1. +5
    -5
      dcoprss/cache.cpp
  2. +7
    -7
      dcoprss/document.cpp
  3. +1
    -1
      dcoprss/query.cpp
  4. +1
    -1
      dcoprss/service.h
  5. +2
    -2
      filesharing/advanced/kcm_sambaconf/expertuserdlg.ui
  6. +3
    -3
      filesharing/advanced/kcm_sambaconf/filemodedlg.ui
  7. +2
    -2
      filesharing/advanced/kcm_sambaconf/groupselectdlg.ui
  8. +2
    -2
      filesharing/advanced/kcm_sambaconf/joindomaindlg.ui
  9. +60
    -60
      filesharing/advanced/kcm_sambaconf/kcminterface.ui
  10. +8
    -8
      filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui
  11. +1
    -1
      filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
  12. +2
    -2
      filesharing/advanced/kcm_sambaconf/konqinterface.ui
  13. +1
    -1
      filesharing/advanced/kcm_sambaconf/sambafile.cpp
  14. +33
    -33
      filesharing/advanced/kcm_sambaconf/share.ui
  15. +1
    -1
      filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp
  16. +1
    -1
      filesharing/advanced/kcm_sambaconf/socketoptionsdlg.ui
  17. +2
    -2
      filesharing/advanced/kcm_sambaconf/userselectdlg.ui
  18. +1
    -1
      filesharing/advanced/kcm_sambaconf/usertab.ui
  19. +4
    -4
      filesharing/advanced/nfs/hostprops.ui
  20. +1
    -1
      filesharing/advanced/nfs/nfsdialoggui.ui
  21. +1
    -1
      filesharing/advanced/nfs/nfsentry.h
  22. +5
    -5
      filesharing/advanced/propsdlgplugin/propertiespagegui.ui
  23. +5
    -5
      filesharing/simple/controlcenter.ui
  24. +4
    -4
      filesharing/simple/fileshare.cpp
  25. +2
    -2
      filesharing/simple/groupconfiggui.ui
  26. +5
    -5
      filesharing/simple/krichtextlabel.cpp
  27. +2
    -2
      filesharing/simple/krichtextlabel.h
  28. +5
    -5
      kdict/actions.cpp
  29. +6
    -6
      kdict/applet/kdictapplet.cpp
  30. +6
    -6
      kdict/matchview.cpp
  31. +6
    -6
      kdict/sets.cpp
  32. +7
    -7
      kget/dlgIndividual.cpp
  33. +2
    -2
      kget/dlgadvancedbase.ui
  34. +3
    -3
      kget/dlgautomationbase.ui
  35. +5
    -5
      kget/dlgconnectionbase.ui
  36. +1
    -1
      kget/dlgdirectoriesbase.ui
  37. +3
    -3
      kget/dlglimitsbase.ui
  38. +2
    -2
      kget/dlgsystembase.ui
  39. +3
    -3
      kget/docking.cpp
  40. +1
    -1
      kget/docking.h
  41. +1
    -1
      kget/droptarget.cpp
  42. +17
    -17
      kget/kmainwidget.cpp
  43. +1
    -1
      kget/settings.cpp
  44. +11
    -11
      kget/transfer.cpp
  45. +6
    -6
      kget/transfer.h
  46. +2
    -2
      kget/transferlist.cpp
  47. +1
    -1
      kget/transferlist.h
  48. +209
    -209
      knewsticker/common/configaccess.cpp
  49. +3
    -3
      knewsticker/common/configaccess.h
  50. +1
    -1
      knewsticker/common/newsengine.cpp
  51. +1
    -1
      knewsticker/common/newsengine.h
  52. +4
    -4
      knewsticker/common/newsiconmgr.cpp
  53. +9
    -9
      knewsticker/common/xmlnewsaccess.cpp
  54. +17
    -17
      knewsticker/knewsticker.cpp
  55. +6
    -6
      knewsticker/knewstickerconfig.cpp
  56. +6
    -6
      knewsticker/knewstickerconfigwidget.ui
  57. +1
    -1
      knewsticker/knewstickerstub/knewstickerstub.cpp
  58. +5
    -5
      knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
  59. +2
    -2
      knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.h
  60. +2
    -2
      knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
  61. +6
    -6
      knewsticker/newsscroller.cpp
  62. +1
    -1
      knewsticker/newsscroller.h
  63. +11
    -11
      knewsticker/newssourcedlgimpl.cpp
  64. +1
    -1
      kopete/KABC_INTEG_NOTES
  65. +3
    -3
      kopete/kopete/addaccountwizard/addaccountwizardpage1.ui
  66. +2
    -2
      kopete/kopete/addaccountwizard/addaccountwizardpage2.ui
  67. +2
    -2
      kopete/kopete/addaccountwizard/addaccountwizardpage3.ui
  68. +1
    -1
      kopete/kopete/addcontactwizard/addcontactwizard.cpp
  69. +7
    -7
      kopete/kopete/addcontactwizard/addcontactwizard_base.ui
  70. +1
    -1
      kopete/kopete/addcontactwizard/fastaddcontactwizard.cpp
  71. +3
    -3
      kopete/kopete/addcontactwizard/fastaddcontactwizard_base.ui
  72. +7
    -7
      kopete/kopete/chatwindow/chatmemberslistwidget.cpp
  73. +1
    -1
      kopete/kopete/chatwindow/chatmemberslistwidget.h
  74. +10
    -10
      kopete/kopete/chatwindow/chatmessagepart.cpp
  75. +7
    -7
      kopete/kopete/chatwindow/chattexteditpart.cpp
  76. +48
    -48
      kopete/kopete/chatwindow/chatview.cpp
  77. +1
    -1
      kopete/kopete/chatwindow/chatview.h
  78. +2
    -2
      kopete/kopete/chatwindow/emoticonselector.cpp
  79. +39
    -39
      kopete/kopete/chatwindow/kopetechatwindow.cpp
  80. +1
    -1
      kopete/kopete/chatwindow/kopetechatwindow.h
  81. +1
    -1
      kopete/kopete/chatwindow/kopetechatwindowstylemanager.cpp
  82. +3
    -3
      kopete/kopete/chatwindow/kopetechatwindowstylemanager.h
  83. +18
    -18
      kopete/kopete/chatwindow/kopeteemailwindow.cpp
  84. +4
    -4
      kopete/kopete/chatwindow/krichtexteditpart.cpp
  85. +2
    -2
      kopete/kopete/chatwindow/tests/chatwindowstyle_test.cpp
  86. +12
    -12
      kopete/kopete/chatwindow/tests/chatwindowstylerendering_test.cpp
  87. +6
    -6
      kopete/kopete/config/accounts/kopeteaccountconfigbase.ui
  88. +4
    -4
      kopete/kopete/config/appearance/appearanceconfig.cpp
  89. +2
    -2
      kopete/kopete/config/appearance/appearanceconfig_colors.ui
  90. +5
    -5
      kopete/kopete/config/appearance/appearanceconfig_contactlist.ui
  91. +2
    -2
      kopete/kopete/config/appearance/appearanceconfig_emoticons.ui
  92. +4
    -4
      kopete/kopete/config/appearance/emoticonseditdialog.cpp
  93. +1
    -1
      kopete/kopete/config/appearance/emoticonseditwidget.ui
  94. +2
    -2
      kopete/kopete/config/appearance/tooltipeditwidget.ui
  95. +3
    -3
      kopete/kopete/config/avdevice/avdeviceconfig_videoconfig.ui
  96. +4
    -4
      kopete/kopete/config/behavior/behaviorconfig_chat.ui
  97. +5
    -5
      kopete/kopete/config/behavior/behaviorconfig_events.ui
  98. +1
    -1
      kopete/kopete/config/behavior/behaviorconfig_general.ui
  99. +5
    -5
      kopete/kopete/config/behavior/kopeteawayconfigbase.ui
  100. +9
    -9
      kopete/kopete/config/identity/kopeteidentityconfigbase.ui

+ 5
- 5
dcoprss/cache.cpp View File

@@ -35,7 +35,7 @@ bool CacheEntry::isValid() const
{
// Cache entries get invalid after on hour. One shouldn't hardcode this
// but for now it'll do.
return m_timeStamp.secsTo( TQDateTime::tqcurrentDateTime() ) < 3600;
return m_timeStamp.secsTo( TQDateTime::currentDateTime() ) < 3600;
}

Cache *Cache::m_instance = 0;
@@ -51,8 +51,8 @@ TQString Cache::getCacheKey( const TQString &server, const TQString &method,
const TQValueList<TQVariant> &args )
{
TQString key;
key = server + TQString::tqfromLatin1( "__" );
key += method + TQString::tqfromLatin1( "__" );
key = server + TQString::fromLatin1( "__" );
key += method + TQString::fromLatin1( "__" );
TQValueList<TQVariant>::ConstIterator it = args.begin();
TQValueList<TQVariant>::ConstIterator end = args.end();
for ( ; it != end; ++it )
@@ -111,13 +111,13 @@ void Cache::touch( const TQString &key )
CacheEntry *entry = find( key );
if ( !entry )
return;
entry->m_timeStamp = TQDateTime::tqcurrentDateTime();
entry->m_timeStamp = TQDateTime::currentDateTime();
}

void Cache::insert( const TQString &key, const KXMLRPC::Query::Result &result )
{
CacheEntry *entry = new CacheEntry;
entry->m_timeStamp = TQDateTime::tqcurrentDateTime();
entry->m_timeStamp = TQDateTime::currentDateTime();
entry->m_result = result;
TQDict<CacheEntry>::insert( key, entry );
}


+ 7
- 7
dcoprss/document.cpp View File

@@ -29,7 +29,7 @@ RSSDocument::RSSDocument(const TQString& url) :
m_pix = TQPixmap();
m_isLoading = false;
m_maxAge = 60;
m_Timeout = TQDateTime::tqcurrentDateTime();
m_Timeout = TQDateTime::currentDateTime();
m_state.clear();
}

@@ -40,7 +40,7 @@ RSSDocument::~RSSDocument()
delete m_Doc;
}

void RSSDocument::loadingComplete(Loader *ldr, Document doc, tqStatus stat)
void RSSDocument::loadingComplete(Loader *ldr, Document doc, Status stat)
{


@@ -129,7 +129,7 @@ TQDateTime RSSDocument::lastBuildDate()
if( m_Doc != 0L)
return m_Doc->lastBuildDate();
else
return TQDateTime::tqcurrentDateTime();
return TQDateTime::currentDateTime();
}

TQDateTime RSSDocument::pubDate()
@@ -137,7 +137,7 @@ TQDateTime RSSDocument::pubDate()
if( m_Doc != 0L)
return m_Doc->pubDate();
else
return TQDateTime::tqcurrentDateTime();
return TQDateTime::currentDateTime();
}

TQString RSSDocument::copyright()
@@ -243,14 +243,14 @@ bool RSSDocument::pixmapValid()
void RSSDocument::refresh()
{
kdDebug() << "Mod time " << m_Timeout.toString() << endl;
kdDebug() << "Current time " << TQDateTime::tqcurrentDateTime().toString() << endl;
kdDebug() << "Current time " << TQDateTime::currentDateTime().toString() << endl;

if(!m_isLoading && (TQDateTime::tqcurrentDateTime() >= m_Timeout))
if(!m_isLoading && (TQDateTime::currentDateTime() >= m_Timeout))
{
kdDebug() << "Document going to refresh" << endl;
m_isLoading = true;
Loader *loader = Loader::create(this,
TQT_SLOT(loadingComplete(Loader *, Document, tqStatus)));
TQT_SLOT(loadingComplete(Loader *, Document, Status)));
loader->loadFrom(KURL( m_Url ), new FileRetriever());
documentUpdating(DCOPRef(this));
}


+ 1
- 1
dcoprss/query.cpp View File

@@ -113,7 +113,7 @@ void QueryService::getCategories( const TQString &category )
kdDebug() << "QueryService::getCategories()" << endl;

if ( category == "Top" ) {
cachedCall( "syndic8.GetCategoryRoots", Server::toVariantList( TQString::tqfromLatin1( "DMOZ" ) ),
cachedCall( "syndic8.GetCategoryRoots", Server::toVariantList( TQString::fromLatin1( "DMOZ" ) ),
TQT_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) );
} else {
TQStringList args;


+ 1
- 1
dcoprss/service.h View File

@@ -124,7 +124,7 @@ class RSSDocument : public TQObject, public DCOPObject

private slots:
void pixmapLoaded(const TQPixmap&);
void loadingComplete(Loader *, Document, tqStatus);
void loadingComplete(Loader *, Document, Status);

public:
RSSDocument(const TQString& url);


+ 2
- 2
filesharing/advanced/kcm_sambaconf/expertuserdlg.ui View File

@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -179,7 +179,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>


+ 3
- 3
filesharing/advanced/kcm_sambaconf/filemodedlg.ui View File

@@ -67,7 +67,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>43</height>
@@ -84,7 +84,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
@@ -359,7 +359,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>


+ 2
- 2
filesharing/advanced/kcm_sambaconf/groupselectdlg.ui View File

@@ -52,7 +52,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>285</width>
<height>20</height>
@@ -113,7 +113,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>


+ 2
- 2
filesharing/advanced/kcm_sambaconf/joindomaindlg.ui View File

@@ -46,7 +46,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -190,7 +190,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>


+ 60
- 60
filesharing/advanced/kcm_sambaconf/kcminterface.ui View File

@@ -521,7 +521,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -614,7 +614,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>30</width>
<height>0</height>
@@ -633,7 +633,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -752,7 +752,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@@ -900,7 +900,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@@ -1066,7 +1066,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -1102,7 +1102,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -1135,7 +1135,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -1243,7 +1243,7 @@ and reappear on the right-hand side, as UNIX users which are not Samba users.
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>240</width>
<height>20</height>
@@ -1413,7 +1413,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -1673,7 +1673,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>180</width>
<height>20</height>
@@ -1717,7 +1717,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>117</width>
<height>20</height>
@@ -1789,7 +1789,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -2065,7 +2065,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -2242,7 +2242,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -2295,7 +2295,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>170</height>
@@ -2458,7 +2458,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -2592,7 +2592,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>120</width>
<height>20</height>
@@ -2611,7 +2611,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -2730,7 +2730,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -2768,7 +2768,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>76</width>
<height>0</height>
@@ -2834,7 +2834,7 @@ Only change something if you know what you are doing.</string>
<cstring>statusChk</cstring>
</property>
<property name="text">
<string>tqStatus</string>
<string>Status</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -2906,7 +2906,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>60</height>
@@ -3034,7 +3034,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -3053,7 +3053,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -3144,7 +3144,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -3493,7 +3493,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -3694,7 +3694,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -3730,7 +3730,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>100</height>
@@ -3811,7 +3811,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>323</width>
<height>20</height>
@@ -4060,7 +4060,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -4202,7 +4202,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>120</height>
@@ -4347,7 +4347,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -4393,7 +4393,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>280</height>
@@ -4570,7 +4570,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -4640,7 +4640,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -4659,7 +4659,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>120</height>
@@ -4917,7 +4917,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>80</height>
@@ -5036,7 +5036,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -5481,7 +5481,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>0</height>
@@ -5500,7 +5500,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>70</height>
@@ -5729,7 +5729,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>140</width>
<height>0</height>
@@ -5913,7 +5913,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>30</height>
@@ -5949,7 +5949,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -6035,7 +6035,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>330</width>
<height>20</height>
@@ -6193,7 +6193,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -6405,7 +6405,7 @@ This is only available if the SSL libraries have been compiled on your system an
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
@@ -6468,7 +6468,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>340</width>
<height>20</height>
@@ -6553,7 +6553,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>300</height>
@@ -6728,7 +6728,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>370</width>
<height>20</height>
@@ -6824,7 +6824,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>100</height>
@@ -6860,7 +6860,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>280</height>
@@ -6946,7 +6946,7 @@ This is only available if the SSL libraries have been compiled on your system an
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
@@ -6993,7 +6993,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>30</height>
@@ -7134,7 +7134,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
@@ -7339,7 +7339,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>330</width>
<height>20</height>
@@ -7452,7 +7452,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>230</height>
@@ -7643,7 +7643,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -7764,7 +7764,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -7838,7 +7838,7 @@ This is only available if the SSL libraries have been compiled on your system an
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>320</height>


+ 8
- 8
filesharing/advanced/kcm_sambaconf/kcmprinterdlg.ui View File

@@ -319,7 +319,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>20</height>
@@ -349,7 +349,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>50</height>
@@ -535,7 +535,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>200</width>
<height>20</height>
@@ -633,7 +633,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>20</height>
@@ -683,7 +683,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>263</width>
<height>20</height>
@@ -831,7 +831,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>20</height>
@@ -944,7 +944,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>20</height>
@@ -1079,7 +1079,7 @@
<property name='sizeType'>
<enum>Expanding</enum>
</property>
<property name='tqsizeHint'>
<property name='sizeHint'>
<size>
<width>20</width>
<height>20</height>


+ 1
- 1
filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp View File

@@ -1267,7 +1267,7 @@ void KcmSambaConf::save() {
// Base settings

_smbconf = _interface->configUrlRq->url();
KSimpleConfig config(TQString::tqfromLatin1(FILESHARECONF),false);
KSimpleConfig config(TQString::fromLatin1(FILESHARECONF),false);
config.writeEntry("SMBCONF",_smbconf);
config.sync();



+ 2
- 2
filesharing/advanced/kcm_sambaconf/konqinterface.ui View File

@@ -420,7 +420,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@@ -447,7 +447,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>0</width>
<height>20</height>


+ 1
- 1
filesharing/advanced/kcm_sambaconf/sambafile.cpp View File

@@ -394,7 +394,7 @@ SambaShare* SambaFile::getTestParmValues(bool reload)

void SambaFile::testParmStdOutReceived(KProcess *, char *buffer, int buflen)
{
_parmOutput+=TQString::tqfromLatin1(buffer,buflen);
_parmOutput+=TQString::fromLatin1(buffer,buflen);
}

void SambaFile::parseParmStdOutput()


+ 33
- 33
filesharing/advanced/kcm_sambaconf/share.ui View File

@@ -304,7 +304,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>90</height>
@@ -362,7 +362,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -540,7 +540,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -1050,7 +1050,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1072,7 +1072,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1086,7 +1086,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>forceCreateModeEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1100,7 +1100,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>forceSecurityModeEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1114,7 +1114,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>forceDirectoryModeEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1128,7 +1128,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>forceDirectorySecurityModeEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1150,7 +1150,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1172,7 +1172,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1194,7 +1194,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -1272,7 +1272,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1294,7 +1294,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1316,7 +1316,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1330,7 +1330,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>securityMaskEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1344,7 +1344,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>directoryMaskEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1358,7 +1358,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>directorySecurityMaskEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1386,7 +1386,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>createMaskEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1408,7 +1408,7 @@ Only change something if you know what you are doing.</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -1490,7 +1490,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>forceUnknownAclUserEdit</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
@@ -1676,7 +1676,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>120</height>
@@ -1759,7 +1759,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>143</width>
<height>16</height>
@@ -1933,7 +1933,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -2024,7 +2024,7 @@ Only change something if you know what you are doing.</string>
<property name="name">
<cstring>manglingCharEdit</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>40</width>
<height>32767</height>
@@ -2041,7 +2041,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
@@ -2322,7 +2322,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -2392,7 +2392,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>299</width>
<height>20</height>
@@ -2508,7 +2508,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -2564,7 +2564,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>260</height>
@@ -2648,7 +2648,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>284</height>
@@ -2745,7 +2745,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -2916,7 +2916,7 @@ Only change something if you know what you are doing.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>


+ 1
- 1
filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp View File

@@ -175,7 +175,7 @@ bool SmbPasswdFile::changePassword(const SambaUser & user, const TQString & newP

void SmbPasswdFile::smbpasswdStdOutReceived(KProcess *, char *buffer, int buflen)
{
_smbpasswdOutput+=TQString::tqfromLatin1(buffer,buflen);
_smbpasswdOutput+=TQString::fromLatin1(buffer,buflen);
}




+ 1
- 1
filesharing/advanced/kcm_sambaconf/socketoptionsdlg.ui View File

@@ -238,7 +238,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>


+ 2
- 2
filesharing/advanced/kcm_sambaconf/userselectdlg.ui View File

@@ -183,7 +183,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@@ -225,7 +225,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>285</width>
<height>20</height>


+ 1
- 1
filesharing/advanced/kcm_sambaconf/usertab.ui View File

@@ -159,7 +159,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>100</height>


+ 4
- 4
filesharing/advanced/nfs/hostprops.ui View File

@@ -34,7 +34,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
@@ -380,7 +380,7 @@ Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not ap
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
@@ -426,7 +426,7 @@ Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not ap
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
@@ -450,7 +450,7 @@ Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not ap
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>


+ 1
- 1
filesharing/advanced/nfs/nfsdialoggui.ui View File

@@ -89,7 +89,7 @@ The first column shows the name or address of the host, the second column shows
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>


+ 1
- 1
filesharing/advanced/nfs/nfsentry.h View File

@@ -74,7 +74,7 @@ typedef TQPtrListIterator<NFSLine> NFSLineIterator;

class NFSEmptyLine : public NFSLine {
public:
virtual TQString toString() const { return TQString::tqfromLatin1("\n"); }
virtual TQString toString() const { return TQString::fromLatin1("\n"); }
virtual ~NFSEmptyLine() {};
};



+ 5
- 5
filesharing/advanced/propsdlgplugin/propertiespagegui.ui View File

@@ -146,7 +146,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -181,7 +181,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>156</width>
<height>20</height>
@@ -277,7 +277,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -312,7 +312,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -335,7 +335,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>1</height>


+ 5
- 5
filesharing/simple/controlcenter.ui View File

@@ -84,7 +84,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>11</width>
<height>0</height>
@@ -149,7 +149,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>11</width>
<height>0</height>
@@ -203,7 +203,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>11</width>
<height>0</height>
@@ -275,7 +275,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -398,7 +398,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>


+ 4
- 4
filesharing/simple/fileshare.cpp View File

@@ -81,9 +81,9 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
this, TQT_SLOT(allowedUsersBtnClicked()));

TQString path = TQString::fromLocal8Bit( getenv( "PATH" ) );
path += TQString::tqfromLatin1(":/usr/sbin");
TQString sambaExec = KStandardDirs::findExe( TQString::tqfromLatin1("smbd"), path );
TQString nfsExec = KStandardDirs::findExe( TQString::tqfromLatin1("rpc.nfsd"), path );
path += TQString::fromLatin1(":/usr/sbin");
TQString sambaExec = KStandardDirs::findExe( TQString::fromLatin1("smbd"), path );
TQString nfsExec = KStandardDirs::findExe( TQString::fromLatin1("rpc.nfsd"), path );

if ( nfsExec.isEmpty() && sambaExec.isEmpty())
{
@@ -196,7 +196,7 @@ void KFileShareConfig::allowedUsersBtnClicked() {

void KFileShareConfig::load()
{
KSimpleConfig config(TQString::tqfromLatin1(FILESHARECONF),true);
KSimpleConfig config(TQString::fromLatin1(FILESHARECONF),true);

m_ccgui->shareGrp->setChecked( config.readEntry("FILESHARING", "yes") == "yes" );


+ 2
- 2
filesharing/simple/groupconfiggui.ui View File

@@ -86,7 +86,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -140,7 +140,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>180</width>
<height>20</height>


+ 5
- 5
filesharing/simple/krichtextlabel.cpp View File

@@ -41,14 +41,14 @@ static TQString qrichtextify( const TQString& text )
KRichTextLabel::KRichTextLabel( const TQString &text , TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5);
tqsetAlignment( TQt::WordBreak );
setAlignment( TQt::WordBreak );
setText(text);
}

KRichTextLabel::KRichTextLabel( TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5);
tqsetAlignment( TQt::WordBreak );
setAlignment( TQt::WordBreak );
}

void KRichTextLabel::setDefaultWidth(int defaultWidth)
@@ -62,7 +62,7 @@ TQSizePolicy KRichTextLabel::sizePolicy() const
return TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum, false);
}

TQSize KRichTextLabel::tqminimumSizeHint() const
TQSize KRichTextLabel::minimumSizeHint() const
{
TQString qt_text = qrichtextify( text() );
int pref_width = 0;
@@ -97,9 +97,9 @@ TQSize KRichTextLabel::tqminimumSizeHint() const
return TQSize(pref_width, rt.height());
}

TQSize KRichTextLabel::tqsizeHint() const
TQSize KRichTextLabel::sizeHint() const
{
return tqminimumSizeHint();
return minimumSizeHint();
}

void KRichTextLabel::setText( const TQString &text ) {


+ 2
- 2
filesharing/simple/krichtextlabel.h View File

@@ -46,8 +46,8 @@ public:
int defaultWidth() const { return m_defaultWidth; }
void setDefaultWidth(int defaultWidth);

virtual TQSize tqminimumSizeHint() const;
virtual TQSize tqsizeHint() const;
virtual TQSize minimumSizeHint() const;
virtual TQSize sizeHint() const;
TQSizePolicy sizePolicy() const;

public slots:


+ 5
- 5
kdict/actions.cpp View File

@@ -46,7 +46,7 @@ int DictComboAction::plug( TQWidget *widget, int index )
m_combo = new KComboBox(m_editable,bar);
m_combo->setCompletionMode(m_compMode);

bar->insertWidget( id_, m_combo->tqsizeHint().width(), m_combo, index );
bar->insertWidget( id_, m_combo->sizeHint().width(), m_combo, index );
bar->setItemAutoSized(id_,m_autoSized);

if ( m_combo ) {
@@ -155,7 +155,7 @@ void DictComboAction::setList(TQStringList items)
if (m_editable && m_combo->completionObject())
m_combo->completionObject()->setItems(items);
if (!m_autoSized)
m_combo->setFixedWidth(m_combo->tqsizeHint().width());
m_combo->setFixedWidth(m_combo->sizeHint().width());
}
}

@@ -213,9 +213,9 @@ int DictLabelAction::plug( TQWidget *widget, int index )
int id = KAction::getToolButtonID();

TQLabel *label = new TQLabel( text(), widget, "kde toolbar widget" );
label->setMinimumWidth(label->tqsizeHint().width());
label->setMinimumWidth(label->sizeHint().width());
label->setBackgroundMode( TQt::PaletteButton );
label->tqsetAlignment(AlignCenter | AlignVCenter);
label->setAlignment(AlignCenter | AlignVCenter);
label->adjustSize();

tb->insertWidget( id, label->width(), label, index );
@@ -320,7 +320,7 @@ void DictButtonAction::unplug( TQWidget *widget )
int DictButtonAction::widthHint()
{
if (m_button)
return m_button->tqsizeHint().width();
return m_button->sizeHint().width();
else
return 0;
}


+ 6
- 6
kdict/applet/kdictapplet.cpp View File

@@ -102,7 +102,7 @@ DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWid
TQPixmap pm = KGlobal::iconLoader()->loadIcon("kdict", KIcon::Panel, KIcon::SizeSmall, KIcon::DefaultState, 0L, true);
iconLabel->setPixmap(pm);
baseLay->addWidget(iconLabel,1,0);
iconLabel->tqsetAlignment(TQt::AlignCenter | TQt::AlignVCenter);
iconLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
iconLabel->setFixedWidth(pm.width()+4);
TQToolTip::add(iconLabel,i18n("Look up a word or phrase with Kdict"));

@@ -160,7 +160,7 @@ DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWid
externalCombo = new KHistoryCombo(popupBox);
externalCombo->setCompletionObject(completionObject);
connect(externalCombo, TQT_SIGNAL(returnPressed(const TQString&)), TQT_SLOT(startQuery(const TQString&)));
externalCombo->setFixedSize(160, externalCombo->tqsizeHint().height());
externalCombo->setFixedSize(160, externalCombo->sizeHint().height());
connect(internalCombo, TQT_SIGNAL(completionModeChanged(KGlobalSettings::Completion)),
this, TQT_SLOT(updateCompletionMode(KGlobalSettings::Completion)));
@@ -205,9 +205,9 @@ DictApplet::~DictApplet()
int DictApplet::widthForHeight(int height) const
{
if (height >= 38)
return textLabel->tqsizeHint().width()+55;
return textLabel->sizeHint().width()+55;
else
return textLabel->tqsizeHint().width()+25;
return textLabel->sizeHint().width()+25;
}


@@ -224,10 +224,10 @@ void DictApplet::resizeEvent(TQResizeEvent*)
baseWidget->show();
baseWidget->setFixedSize(width(),height());

if (height() < internalCombo->tqsizeHint().height())
if (height() < internalCombo->sizeHint().height())
internalCombo->setFixedHeight(height());
else
internalCombo->setFixedHeight(internalCombo->tqsizeHint().height());
internalCombo->setFixedHeight(internalCombo->sizeHint().height());

if (height() >= 38) {
textLabel->show();


+ 6
- 6
kdict/matchview.cpp View File

@@ -119,7 +119,7 @@ MatchView::MatchView(TQWidget *parent, const char *name)

boxLayout->addSpacing(1);
w_strat = new TQComboBox(false,this);
w_strat->setFixedHeight(w_strat->tqsizeHint().height());
w_strat->setFixedHeight(w_strat->sizeHint().height());
connect(w_strat,TQT_SIGNAL(activated(int)),this,TQT_SLOT(strategySelected(int)));
boxLayout->addWidget(w_strat,0);
boxLayout->addSpacing(1);
@@ -133,7 +133,7 @@ MatchView::MatchView(TQWidget *parent, const char *name)
w_list->setSelectionMode(TQListView::Extended);
w_list->setTreeStepSize(18);
w_list->setSorting(-1); // disable sorting
w_list->setMinimumHeight(w_strat->tqsizeHint().height());
w_list->setMinimumHeight(w_strat->sizeHint().height());
connect(w_list,TQT_SIGNAL(selectionChanged()),TQT_SLOT(enableGetButton()));
connect(w_list,TQT_SIGNAL(returnPressed(TQListViewItem *)),TQT_SLOT(returnPressed(TQListViewItem *)));
connect(w_list,TQT_SIGNAL(doubleClicked(TQListViewItem *)),TQT_SLOT(getOneItem(TQListViewItem *)));
@@ -144,15 +144,15 @@ MatchView::MatchView(TQWidget *parent, const char *name)

boxLayout->addSpacing(1);
w_get = new TQPushButton(i18n("&Get Selected"),this);
w_get->setFixedHeight(w_get->tqsizeHint().height()-3);
w_get->setMinimumWidth(w_get->tqsizeHint().width()-20);
w_get->setFixedHeight(w_get->sizeHint().height()-3);
w_get->setMinimumWidth(w_get->sizeHint().width()-20);
w_get->setEnabled(false);
connect(w_get, TQT_SIGNAL(clicked()), this, TQT_SLOT(getSelected()));
boxLayout->addWidget(w_get,0);

w_getAll = new TQPushButton(i18n("Get &All"),this);
w_getAll->setFixedHeight(w_getAll->tqsizeHint().height()-3);
w_getAll->setMinimumWidth(w_getAll->tqsizeHint().width()-20);
w_getAll->setFixedHeight(w_getAll->sizeHint().height()-3);
w_getAll->setMinimumWidth(w_getAll->sizeHint().width()-20);
w_getAll->setEnabled(false);
connect(w_getAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(getAll()));
boxLayout->addWidget(w_getAll,0);


+ 6
- 6
kdict/sets.cpp View File

@@ -44,12 +44,12 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name)
topLayout->addLayout(subLayout1,0);

w_set = new TQComboBox(true,page);
w_set->setFixedHeight(w_set->tqsizeHint().height());
w_set->setFixedHeight(w_set->sizeHint().height());
w_set->setInsertionPolicy (TQComboBox::NoInsertion);
w_set->insertStringList(sets);
connect(w_set, TQT_SIGNAL(activated(int)),this, TQT_SLOT(activateSet(int)));
TQLabel *l = new TQLabel(w_set, i18n("&Set:"),page);
l->setMinimumSize(l->tqsizeHint());
l->setMinimumSize(l->sizeHint());
subLayout1->addWidget(l,0);
subLayout1->addWidget(w_set,1);

@@ -60,12 +60,12 @@ DbSetsDialog::DbSetsDialog(TQWidget *parent, const char *name)
subLayout1->addWidget(w_save,0);

TQPushButton *btn = new TQPushButton(i18n("&New"),page);
btn->setMinimumSize(btn->tqsizeHint());
btn->setMinimumSize(btn->sizeHint());
connect(btn, TQT_SIGNAL(clicked()),this, TQT_SLOT(newPressed()));
subLayout1->addWidget(btn,0);