summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:27 -0600
commitbcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (patch)
tree07fafab2b93966c9e2128ba52337a43d388d300c /kgpg
parent955e20356d63ed405198c8143617a8a0ca8bfc02 (diff)
downloadtdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.tar.gz
tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/conf_decryption.ui2
-rw-r--r--kgpg/conf_encryption.ui4
-rw-r--r--kgpg/conf_gpg.ui4
-rw-r--r--kgpg/conf_misc.ui10
-rw-r--r--kgpg/conf_ui2.ui4
-rw-r--r--kgpg/detailedconsole.cpp2
-rw-r--r--kgpg/groupedit.ui2
-rw-r--r--kgpg/keyexport.ui4
-rw-r--r--kgpg/keygener.cpp8
-rw-r--r--kgpg/keyinfowidget.cpp8
-rw-r--r--kgpg/keyproperties.ui4
-rw-r--r--kgpg/keyserver.ui12
-rw-r--r--kgpg/keyservers.cpp4
-rw-r--r--kgpg/kgpgeditor.cpp4
-rw-r--r--kgpg/kgpginterface.cpp6
-rw-r--r--kgpg/kgpgview.cpp2
-rw-r--r--kgpg/kgpgwizard.ui8
-rw-r--r--kgpg/listkeys.cpp14
-rw-r--r--kgpg/sourceselect.ui4
19 files changed, 53 insertions, 53 deletions
diff --git a/kgpg/conf_decryption.ui b/kgpg/conf_decryption.ui
index da86512..b604046 100644
--- a/kgpg/conf_decryption.ui
+++ b/kgpg/conf_decryption.ui
@@ -40,7 +40,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>155</height>
diff --git a/kgpg/conf_encryption.ui b/kgpg/conf_encryption.ui
index 7fa0563..2aabb64 100644
--- a/kgpg/conf_encryption.ui
+++ b/kgpg/conf_encryption.ui
@@ -42,7 +42,7 @@
<property name="name">
<cstring>kcfg_AsciiArmor</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -102,7 +102,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>72</height>
diff --git a/kgpg/conf_gpg.ui b/kgpg/conf_gpg.ui
index 1109528..416f242 100644
--- a/kgpg/conf_gpg.ui
+++ b/kgpg/conf_gpg.ui
@@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>190</width>
<height>20</height>
@@ -122,7 +122,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>54</height>
diff --git a/kgpg/conf_misc.ui b/kgpg/conf_misc.ui
index 8c0a43e..9572402 100644
--- a/kgpg/conf_misc.ui
+++ b/kgpg/conf_misc.ui
@@ -53,7 +53,7 @@
<property name="name">
<cstring>kcfg_UseMouseSelection</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -71,7 +71,7 @@
<property name="name">
<cstring>kcfg_RemoteFileWarn</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -107,7 +107,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>91</width>
<height>20</height>
@@ -159,7 +159,7 @@ the original file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>71</height>
@@ -220,7 +220,7 @@ the original file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>91</height>
diff --git a/kgpg/conf_ui2.ui b/kgpg/conf_ui2.ui
index 74a4a0b..1344d26 100644
--- a/kgpg/conf_ui2.ui
+++ b/kgpg/conf_ui2.ui
@@ -129,7 +129,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>210</height>
@@ -146,7 +146,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>140</width>
<height>20</height>
diff --git a/kgpg/detailedconsole.cpp b/kgpg/detailedconsole.cpp
index 6874813..30a5ca0 100644
--- a/kgpg/detailedconsole.cpp
+++ b/kgpg/detailedconsole.cpp
@@ -42,7 +42,7 @@ KDetailedConsole::KDetailedConsole(TQWidget *parent, const char *name,const TQSt
TQVGroupBox *detailsGroup = new TQVGroupBox( i18n("Details"), page);
(void) new TQLabel(errormessage,detailsGroup);
- //labdetails->setMinimumSize(labdetails->tqsizeHint());
+ //labdetails->setMinimumSize(labdetails->sizeHint());
setDetailsWidget(detailsGroup);
vbox->addWidget(lab1);
diff --git a/kgpg/groupedit.ui b/kgpg/groupedit.ui
index 438d2b9..fe6d178 100644
--- a/kgpg/groupedit.ui
+++ b/kgpg/groupedit.ui
@@ -127,7 +127,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>71</width>
<height>20</height>
diff --git a/kgpg/keyexport.ui b/kgpg/keyexport.ui
index 8389aa3..4daae5b 100644
--- a/kgpg/keyexport.ui
+++ b/kgpg/keyexport.ui
@@ -20,7 +20,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>350</width>
<height>0</height>
@@ -54,7 +54,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/kgpg/keygener.cpp b/kgpg/keygener.cpp
index 70bbff7..26ecebe 100644
--- a/kgpg/keygener.cpp
+++ b/kgpg/keygener.cpp
@@ -64,7 +64,7 @@ keyGenerate::keyGenerate(TQWidget *parent, const char *name):KDialogBase( parent
keyexp->insertItem(i18n("Weeks"),2);
keyexp->insertItem(i18n("Months"),3);
keyexp->insertItem(i18n("Years"),4);
- keyexp->setMinimumSize(keyexp->tqsizeHint());
+ keyexp->setMinimumSize(keyexp->sizeHint());
connect(keyexp,TQT_SIGNAL(activated(int)),this,TQT_SLOT(activateexp(int)));
(void) new TQLabel(i18n("Key size:"),bgroup1);
@@ -74,17 +74,17 @@ keyGenerate::keyGenerate(TQWidget *parent, const char *name):KDialogBase( parent
keysize->insertItem("2048");
keysize->insertItem("4096");
keysize->setCurrentItem("1024");
- keysize->setMinimumSize(keysize->tqsizeHint());
+ keysize->setMinimumSize(keysize->sizeHint());
(void) new TQLabel(i18n("Algorithm:"),bgroup1);
keykind = new KComboBox(bgroup1);
keykind->insertItem("DSA & ElGamal");
keykind->insertItem("RSA");
- keykind->setMinimumSize(keykind->tqsizeHint());
+ keykind->setMinimumSize(keykind->sizeHint());
vbox->addWidget(bgroup1);
page->show();
- page->resize(page->tqmaximumSize());
+ page->resize(page->maximumSize());
setMainWidget(page);
}
diff --git a/kgpg/keyinfowidget.cpp b/kgpg/keyinfowidget.cpp
index 93aa61f..2e75a4d 100644
--- a/kgpg/keyinfowidget.cpp
+++ b/kgpg/keyinfowidget.cpp
@@ -85,7 +85,7 @@ KgpgKeyInfo::KgpgKeyInfo(TQWidget *parent, const char *name,TQString sigkey):KDi
connect(prop->kCOwnerTrust,TQT_SIGNAL(activated (int)),this,TQT_SLOT(slotChangeTrust(int)));
connect(this,TQT_SIGNAL(changeMainPhoto(const TQPixmap&)),this,TQT_SLOT(slotSetPhoto(const TQPixmap&)));
- //prop->setMinimumSize(prop->tqsizeHint());
+ //prop->setMinimumSize(prop->sizeHint());
}
void KgpgKeyInfo::slotDisableKey(bool isOn)
@@ -378,14 +378,14 @@ chdate->show();
void KgpgKeyInfo::slotCheckDate(TQDate date)
{
-chdate->enableButtonOK(date>=TQDate::tqcurrentDate ());
+chdate->enableButtonOK(date>=TQDate::currentDate ());
}
void KgpgKeyInfo::slotChangeDate()
{
KgpgInterface *KeyExpirationProcess=new KgpgInterface();
if (kb->isChecked())
- KeyExpirationProcess->KgpgKeyExpire(displayedKeyID,TQDate::tqcurrentDate(),true);
+ KeyExpirationProcess->KgpgKeyExpire(displayedKeyID,TQDate::currentDate(),true);
else
KeyExpirationProcess->KgpgKeyExpire(displayedKeyID,kdt->date(),false);
connect(KeyExpirationProcess,TQT_SIGNAL(expirationFinished(int)),this,TQT_SLOT(slotInfoExpirationChanged(int)));
@@ -401,7 +401,7 @@ chdate->enableButtonOK(true);
else
{
kdt->setEnabled(true);
-chdate->enableButtonOK(kdt->date()>=TQDate::tqcurrentDate ());
+chdate->enableButtonOK(kdt->date()>=TQDate::currentDate ());
}
}
diff --git a/kgpg/keyproperties.ui b/kgpg/keyproperties.ui
index 485c182..adfe8c1 100644
--- a/kgpg/keyproperties.ui
+++ b/kgpg/keyproperties.ui
@@ -50,13 +50,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>120</width>
<height>140</height>
</size>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>32767</width>
<height>140</height>
diff --git a/kgpg/keyserver.ui b/kgpg/keyserver.ui
index 40c81ec..4087bde 100644
--- a/kgpg/keyserver.ui
+++ b/kgpg/keyserver.ui
@@ -107,7 +107,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -124,7 +124,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -141,7 +141,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>160</width>
<height>20</height>
@@ -214,7 +214,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>250</width>
<height>20</height>
@@ -262,7 +262,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -279,7 +279,7 @@ Allows the user to select the Key Server which will be used to import PGP/GnuPG
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
diff --git a/kgpg/keyservers.cpp b/kgpg/keyservers.cpp
index 5f77590..3f75b79 100644
--- a/kgpg/keyservers.cpp
+++ b/kgpg/keyservers.cpp
@@ -88,7 +88,7 @@ keyServer::keyServer(TQWidget *parent, const char *name,bool modal,bool autoClos
encid->start(KProcess::NotifyOnExit,true);
page->Buttonimport->setEnabled( !page->kLEimportid->text().isEmpty());
page->Buttonsearch->setEnabled( !page->kLEimportid->text().isEmpty());
-setMinimumSize(tqsizeHint());
+setMinimumSize(sizeHint());
}
@@ -201,7 +201,7 @@ void keyServer::slotSearch()
searchproc->start(KProcess::NotifyOnExit,true);
TQApplication::setOverrideCursor(TQCursor(TQt::BusyCursor));
dialogServer->setMainWidget(listpop);
- listpop->setMinimumSize(listpop->tqsizeHint());
+ listpop->setMinimumSize(listpop->sizeHint());
listpop->setMinimumWidth(550);
dialogServer->exec();
}
diff --git a/kgpg/kgpgeditor.cpp b/kgpg/kgpgeditor.cpp
index c36be3d..0722f3b 100644
--- a/kgpg/kgpgeditor.cpp
+++ b/kgpg/kgpgeditor.cpp
@@ -250,8 +250,8 @@ void KgpgApp::slotFilePreDec()
page->newFilename->setCaption(i18n("Save File"));
page->checkClipboard->setText(i18n("Editor"));
- page->resize(page->tqminimumSize());
- popn->resize(popn->tqminimumSize());
+ page->resize(page->minimumSize());
+ popn->resize(popn->minimumSize());
if (popn->exec()==TQDialog::Accepted) {
if (page->checkFile->isChecked())
newname=page->newFilename->url();
diff --git a/kgpg/kgpginterface.cpp b/kgpg/kgpginterface.cpp
index b45240d..dc4f0e9 100644
--- a/kgpg/kgpginterface.cpp
+++ b/kgpg/kgpginterface.cpp
@@ -641,7 +641,7 @@ Md5Widget::Md5Widget(TQWidget *parent, const char *name,KURL url):KDialogBase( p
KLed1=new KLed(TQColor(80,80,80),KLed::Off,KLed::Sunken,KLed::Circular,page,"KLed1");
KLed1->off();
- KLed1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, KLed1->sizePolicy().hasHeightForWidth() ) );
+ KLed1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, KLed1->sizePolicy().hasHeightForWidth() ) );
Layout4->addWidget( KLed1 );
TextLabel1_2 = new TQLabel( page, "TextLabel1_2" );
@@ -653,7 +653,7 @@ Md5Widget::Md5Widget(TQWidget *parent, const char *name,KURL url):KDialogBase( p
MyDialogLayout->addItem( spacer, 3, 0 );
page->show();
- page->resize(page->tqminimumSize());
+ page->resize(page->minimumSize());
setMainWidget(page);
@@ -1079,7 +1079,7 @@ void KgpgInterface::KgpgKeyExpire(TQString keyID,TQDate date,bool unlimited)
if (unlimited)
expirationDelay=0;
else
- expirationDelay=TQDate::tqcurrentDate().daysTo(date);
+ expirationDelay=TQDate::currentDate().daysTo(date);
output=TQString();
KProcIO *conprocess=new KProcIO(TQTextCodec::codecForLocale());
*conprocess<<"gpg"<<"--no-secmem-warning"<<"--no-tty"<<"--command-fd=0"<<"--status-fd=2"<<"--utf8-strings";
diff --git a/kgpg/kgpgview.cpp b/kgpg/kgpgview.cpp
index f85563c..9c12d63 100644
--- a/kgpg/kgpgview.cpp
+++ b/kgpg/kgpgview.cpp
@@ -215,7 +215,7 @@ KgpgView::KgpgView(TQWidget *parent, const char *name) : TQWidget(parent, name)
TQObject::connect(editor,TQT_SIGNAL(textChanged()),TQT_TQOBJECT(this),TQT_SLOT(modified()));
boutonbox->tqlayout();
- editor->resize(editor->tqmaximumSize());
+ editor->resize(editor->maximumSize());
vbox->addWidget(editor);
vbox->addWidget(boutonbox);
}
diff --git a/kgpg/kgpgwizard.ui b/kgpg/kgpgwizard.ui
index b826975..5521225 100644
--- a/kgpg/kgpgwizard.ui
+++ b/kgpg/kgpgwizard.ui
@@ -76,7 +76,7 @@ This wizard will first setup some basic configuration options required for KGpg
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>41</height>
@@ -136,7 +136,7 @@ This wizard will first setup some basic configuration options required for KGpg
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>60</height>
@@ -249,7 +249,7 @@ This wizard will first setup some basic configuration options required for KGpg
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -304,7 +304,7 @@ Remember that if you download a file or open one in an editor, parts of the file
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
diff --git a/kgpg/listkeys.cpp b/kgpg/listkeys.cpp
index 5f01af7..cb1a166 100644
--- a/kgpg/listkeys.cpp
+++ b/kgpg/listkeys.cpp
@@ -923,7 +923,7 @@ void listKeys::slotAddUid()
addUidWidget->enableButtonOK(false);
AddUid *keyUid=new AddUid();
addUidWidget->setMainWidget(keyUid);
- //keyUid->setMinimumSize(keyUid->tqsizeHint());
+ //keyUid->setMinimumSize(keyUid->sizeHint());
keyUid->setMinimumWidth(300);
connect(keyUid->kLineEdit1,TQT_SIGNAL(textChanged ( const TQString & )),TQT_TQOBJECT(this),TQT_SLOT(slotAddUidEnable(const TQString & )));
if (addUidWidget->exec()!=TQDialog::Accepted)
@@ -1415,7 +1415,7 @@ void listKeys::revokeWidget()
keyRevoke->kURLRequester1->setURL(TQDir::homeDirPath()+"/"+keysList2->currentItem()->text(1).section('@',0,0)+".revoke");
keyRevoke->kURLRequester1->setMode(KFile::File);
- keyRevoke->setMinimumSize(keyRevoke->tqsizeHint());
+ keyRevoke->setMinimumSize(keyRevoke->sizeHint());
keyRevoke->show();
keyRevokeWidget->setMainWidget(keyRevoke);
@@ -1817,7 +1817,7 @@ void listKeys::editGroup()
gEdit->groupKeys->setColumnWidthMode(1,TQListView::Manual);
gEdit->groupKeys->setColumnWidthMode(2,TQListView::Manual);
- gEdit->setMinimumSize(gEdit->tqsizeHint());
+ gEdit->setMinimumSize(gEdit->sizeHint());
gEdit->show();
if (dialogGroupEdit->exec()==TQDialog::Accepted)
groupChange();
@@ -2157,7 +2157,7 @@ void listKeys::slotgenkey()
TQLabel *tex=new TQLabel(wid);
TQLabel *tex2=new TQLabel(wid);
- tex->tqsetAlignment(AlignHCenter);
+ tex->setAlignment(AlignHCenter);
tex->setMovie(anim);
tex2->setText(i18n("\nPlease wait..."));
vbox->addWidget(passiveBox);
@@ -2294,7 +2294,7 @@ void listKeys::newKeyDone(KProcess *)
page->LEfinger->setText(newkeyFinger);
page->CBdefault->setChecked(true);
page->show();
- //page->resize(page->tqmaximumSize());
+ //page->resize(page->maximumSize());
keyCreated->setMainWidget(page);
delete pop;
keyCreated->exec();
@@ -2473,8 +2473,8 @@ void listKeys::slotPreImportKey()
dial->setMainWidget(page);
page->newFilename->setCaption(i18n("Open File"));
page->newFilename->setMode(KFile::File);
- page->resize(page->tqminimumSize());
- dial->resize(dial->tqminimumSize());
+ page->resize(page->minimumSize());
+ dial->resize(dial->minimumSize());
if (dial->exec()==TQDialog::Accepted) {
if (page->checkFile->isChecked()) {
diff --git a/kgpg/sourceselect.ui b/kgpg/sourceselect.ui
index 1d0b749..b974eb7 100644
--- a/kgpg/sourceselect.ui
+++ b/kgpg/sourceselect.ui
@@ -20,7 +20,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>350</width>
<height>0</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>