summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/cryptoconfigmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/ui/cryptoconfigmodule.cpp')
-rw-r--r--certmanager/lib/ui/cryptoconfigmodule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/certmanager/lib/ui/cryptoconfigmodule.cpp b/certmanager/lib/ui/cryptoconfigmodule.cpp
index a16dcd22e..c7604e84e 100644
--- a/certmanager/lib/ui/cryptoconfigmodule.cpp
+++ b/certmanager/lib/ui/cryptoconfigmodule.cpp
@@ -122,10 +122,10 @@ Kleo::CryptoConfigModule::CryptoConfigModule( Kleo::CryptoConfig* config, TQWidg
dialogHeight = 500;
else // small (800x600, 640x480) desktop
dialogHeight = 400;
- TQSize sz = scrollView->tqsizeHint();
+ TQSize sz = scrollView->sizeHint();
scrollView->setMinimumSize( sz.width()
- + scrollView->tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent),
- TQMIN( compGUI->tqsizeHint().height(), dialogHeight ) );
+ + scrollView->tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent),
+ TQMIN( compGUI->sizeHint().height(), dialogHeight ) );
}
if ( mComponentGUIs.empty() ) {
Q_ASSERT( face() == Plain );
@@ -136,7 +136,7 @@ Kleo::CryptoConfigModule::CryptoConfigModule( Kleo::CryptoConfig* config, TQWidg
"information.")
.tqarg( components.empty() ? "gpgconf --list-components" : "gpgconf --list-options gpg" );
TQLabel * label = new TQLabel( msg, vbox );
- label->tqsetAlignment( TQt::WordBreak );
+ label->setAlignment( TQt::WordBreak );
label->setMinimumHeight( fontMetrics().lineSpacing() * 5 );
}
}