summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
commit1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch)
tree11037eed53e1cd90dad4e194f9dea542ad28607f /kbabel/commonui
parent3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff)
downloadtdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz
tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbabel/commonui')
-rw-r--r--kbabel/commonui/cmdedit.cpp2
-rw-r--r--kbabel/commonui/diffpreferences.ui2
-rw-r--r--kbabel/commonui/klisteditor.ui4
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp30
-rw-r--r--kbabel/commonui/projectwizardwidget2.ui2
-rw-r--r--kbabel/commonui/roughtransdlg.cpp2
6 files changed, 21 insertions, 21 deletions
diff --git a/kbabel/commonui/cmdedit.cpp b/kbabel/commonui/cmdedit.cpp
index df8ce38a..2620ea3a 100644
--- a/kbabel/commonui/cmdedit.cpp
+++ b/kbabel/commonui/cmdedit.cpp
@@ -104,7 +104,7 @@ CmdEdit::CmdEdit(TQWidget* parent, const char* name)
tqlayout->addRowSpacing(2, KDialog::spacingHint());
tqlayout->addRowSpacing(6, KDialog::spacingHint());
- setMinimumSize(tqlayout->tqsizeHint());
+ setMinimumSize(tqlayout->sizeHint());
connect(_addButton , TQT_SIGNAL(clicked()) , this , TQT_SLOT(addCmd()) ) ;
diff --git a/kbabel/commonui/diffpreferences.ui b/kbabel/commonui/diffpreferences.ui
index c52e3c27..dfe8279b 100644
--- a/kbabel/commonui/diffpreferences.ui
+++ b/kbabel/commonui/diffpreferences.ui
@@ -116,7 +116,7 @@ the database are used for diffing.&lt;/p&gt;&lt;/qt&gt;</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
diff --git a/kbabel/commonui/klisteditor.ui b/kbabel/commonui/klisteditor.ui
index b31497b4..4b7eeb0d 100644
--- a/kbabel/commonui/klisteditor.ui
+++ b/kbabel/commonui/klisteditor.ui
@@ -97,7 +97,7 @@
<property name="name">
<cstring>_list</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>200</width>
<height>200</height>
@@ -172,7 +172,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 163b4eeb..b77a1811 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -79,7 +79,7 @@ using namespace KBabel;
static TQSize sizeHintForWidget(const TQWidget* widget)
{
//
- // The size is computed by adding the tqsizeHint().height() of all
+ // The size is computed by adding the sizeHint().height() of all
// widget tqchildren and taking the width of the widest child and adding
// tqlayout()->margin() and tqlayout()->spacing()
//
@@ -97,7 +97,7 @@ static TQSize sizeHintForWidget(const TQWidget* widget)
numChild += 1;
TQWidget *w=((TQWidget*)o);
- TQSize s = w->tqsizeHint();
+ TQSize s = w->sizeHint();
if( s.isEmpty() == true )
{
s = TQSize( 50, 100 ); // Default size
@@ -323,7 +323,7 @@ SavePreferences::SavePreferences(TQWidget *parent)
"in the online help.</p>"
"</qt>") );
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -443,12 +443,12 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
tempLabel=new TQLabel(i18n("&Language mailing list:"),group);
_listEdit = new TQLineEdit(group, "kcfg_Mailinglist");
- _listEdit->setMinimumSize(100,_listEdit->tqsizeHint().height());
+ _listEdit->setMinimumSize(100,_listEdit->sizeHint().height());
tempLabel->setBuddy(_listEdit);
tempLabel=new TQLabel(i18n("&Timezone:"), group);
_timezoneEdit = new TQLineEdit(group, "kcfg_Timezone");
- _timezoneEdit->setMinimumSize(100,_timezoneEdit->tqsizeHint().height());
+ _timezoneEdit->setMinimumSize(100,_timezoneEdit->sizeHint().height());
tempLabel->setBuddy(_timezoneEdit);
@@ -538,7 +538,7 @@ IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& proje
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
_mailEdit->installEventFilter(this);
_listEdit->installEventFilter(this);
@@ -837,7 +837,7 @@ SpellPreferences::SpellPreferences(TQWidget* parent)
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -896,7 +896,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* parent)
_poDirEdit = new KURLRequester(hbox, "kcfg_PoBaseDir");
_poDirEdit->setMode( mode );
- _poDirEdit->setMinimumSize(250,_poDirEdit->tqsizeHint().height());
+ _poDirEdit->setMinimumSize(250,_poDirEdit->sizeHint().height());
label->setBuddy(_poDirEdit);
@@ -906,7 +906,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* parent)
_potDirEdit = new KURLRequester(hbox, "kcfg_PotBaseDir");
_potDirEdit->setMode( mode );
- _potDirEdit->setMinimumSize(250,_potDirEdit->tqsizeHint().height());
+ _potDirEdit->setMinimumSize(250,_potDirEdit->sizeHint().height());
label->setBuddy(_potDirEdit);
@@ -960,7 +960,7 @@ CatmanPreferences::CatmanPreferences(TQWidget* parent)
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -1013,7 +1013,7 @@ DirCommandsPreferences::DirCommandsPreferences(TQWidget* parent)
tqlayout->addStretch(1);
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -1077,7 +1077,7 @@ FileCommandsPreferences::FileCommandsPreferences(TQWidget* parent)
tqlayout->addStretch(1);
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -1130,7 +1130,7 @@ ViewPreferences::ViewPreferences(TQWidget* parent)
page->setMinimumSize(sizeHintForWidget(page));
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
@@ -1159,7 +1159,7 @@ SourceContextPreferences::SourceContextPreferences(TQWidget* parent): TQWidget(p
const KFile::Mode mode = static_cast<KFile::Mode>( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
_coderootEdit = new KURLRequester ( box, "kcfg_CodeRoot" );
_coderootEdit->setMode( mode );
- _coderootEdit->setMinimumSize( 250, _coderootEdit->tqsizeHint().height() );
+ _coderootEdit->setMinimumSize( 250, _coderootEdit->sizeHint().height() );
tempLabel->setBuddy( _coderootEdit );
tqlayout->addWidget(box);
@@ -1173,7 +1173,7 @@ SourceContextPreferences::SourceContextPreferences(TQWidget* parent): TQWidget(p
_pathsEditor->installEventFilter(this);
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
}
SourceContextPreferences::~SourceContextPreferences()
diff --git a/kbabel/commonui/projectwizardwidget2.ui b/kbabel/commonui/projectwizardwidget2.ui
index 97030b94..50671e62 100644
--- a/kbabel/commonui/projectwizardwidget2.ui
+++ b/kbabel/commonui/projectwizardwidget2.ui
@@ -138,7 +138,7 @@ will not work.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>31</width>
<height>100</height>
diff --git a/kbabel/commonui/roughtransdlg.cpp b/kbabel/commonui/roughtransdlg.cpp
index 57fb21d0..a5415529 100644
--- a/kbabel/commonui/roughtransdlg.cpp
+++ b/kbabel/commonui/roughtransdlg.cpp
@@ -278,7 +278,7 @@ void RoughTransDlg::translate()
for(int i = 0; i < total; i++)
{
progressbar->setProgress(i+1);
- kapp->tqprocessEvents(100);
+ kapp->processEvents(100);
if(stop || cancel) break;