diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:13 -0600 |
commit | 1d9c18c8a07f4833695c6a2ab978698ae1cc90e7 (patch) | |
tree | c61f8778c1c540d79ed77c3f69018fcba0bca646 /src/toolsinfodialog.cpp | |
parent | 2622d5ad003c636cda4bc36246df8a7fe9ac5d9f (diff) | |
download | kvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.tar.gz kvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/toolsinfodialog.cpp')
-rw-r--r-- | src/toolsinfodialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/toolsinfodialog.cpp b/src/toolsinfodialog.cpp index e638238..0c8ed10 100644 --- a/src/toolsinfodialog.cpp +++ b/src/toolsinfodialog.cpp @@ -39,7 +39,7 @@ ToolsInfoDialog::ToolsInfoDialog(KVpncConfig *GlobalConfig, TQWidget *parent, co { main = new ToolsInfoWidgetBase(this); setMainWidget(main); - main->InfoListView->setMinimumSize(main->InfoListView->tqsizeHint()); + main->InfoListView->setMinimumSize(main->InfoListView->sizeHint()); TQPixmap ok_icon = KGlobal::iconLoader()->loadIcon( "button_ok", KIcon::NoGroup, 16 ); TQPixmap wrong_icon = KGlobal::iconLoader()->loadIcon( "button_cancel", KIcon::NoGroup, 16 ); @@ -109,16 +109,16 @@ ToolsInfoDialog::ToolsInfoDialog(KVpncConfig *GlobalConfig, TQWidget *parent, co if ( tool->Version.contains("Openswan")) { comment="Openswan"; - comment+=", "+i18n("kernel %1 support").tqarg("2.6"); + comment+=", "+i18n("kernel %1 support").arg("2.6"); comment+=", "+i18n("smartcard support"); } else if ( tool->Version.contains("strongSwan")) { comment="strongSwan"; comment+=", "+i18n("no aggressive mode"); - comment+=", "+i18n("kernel %1 support").tqarg("2.4"); + comment+=", "+i18n("kernel %1 support").arg("2.4"); if (!(majorversion <= 2 && minorversion <= 8 && subminorversion <= 1)) - comment+=", "+i18n("kernel %1 support").tqarg("2.6"); + comment+=", "+i18n("kernel %1 support").arg("2.6"); comment+=", "+i18n("smartcard support"); } else @@ -328,7 +328,7 @@ ToolsInfoDialog::ToolsInfoDialog(KVpncConfig *GlobalConfig, TQWidget *parent, co } else if (tool->Name == "tail") { -// comment+=", "+i18n("kernel %1 support").tqarg("2.6"); +// comment+=", "+i18n("kernel %1 support").arg("2.6"); } else if (tool->Name == "ssh") { @@ -518,9 +518,9 @@ ToolsInfoDialog::ToolsInfoDialog(KVpncConfig *GlobalConfig, TQWidget *parent, co new ListViewToolTip( main->InfoListView ); this->resize(800,600); - main->InfoListView->resize(main->InfoListView->tqsizeHint()); - main->resize(main->tqsizeHint()); - //this->resize(tqsizeHint()); + main->InfoListView->resize(main->InfoListView->sizeHint()); + main->resize(main->sizeHint()); + //this->resize(sizeHint()); GlobalConfig->appPointer->restoreOverrideCursor(); } |