summaryrefslogtreecommitdiffstats
path: root/korganizer/printing/calprinter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/printing/calprinter.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/printing/calprinter.cpp')
-rw-r--r--korganizer/printing/calprinter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/printing/calprinter.cpp b/korganizer/printing/calprinter.cpp
index 0ab61fdac..0517dec00 100644
--- a/korganizer/printing/calprinter.cpp
+++ b/korganizer/printing/calprinter.cpp
@@ -178,7 +178,7 @@ CalPrintDialog::CalPrintDialog( KOrg::PrintPlugin::List plugins,
mTypeGroup = new TQVButtonGroup( i18n("Print Style"), splitter, "buttonGroup" );
// use the minimal width possible = max width of the radio buttons, not extensible
-/* mTypeGroup->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4,
+/* mTypeGroup->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4,
(TQSizePolicy::SizeType)5, 0, 0,
mTypeGroup->sizePolicy().hasHeightForWidth() ) );*/
@@ -220,11 +220,11 @@ CalPrintDialog::CalPrintDialog( KOrg::PrintPlugin::List plugins,
TQRadioButton *radioButton = new TQRadioButton( p->description(), mTypeGroup );
radioButton->setEnabled( p->enabled() );
mTypeGroup->insert( radioButton, mapit.key() );
-// radioButton->setMinimumHeight( radioButton->sizeHint().height() - 5 );
+// radioButton->setMinimumHeight( radioButton->tqsizeHint().height() - 5 );
}
- setMinimumSize( minimumSizeHint() );
- resize( minimumSizeHint() );
+ setMinimumSize( tqminimumSizeHint() );
+ resize( tqminimumSizeHint() );
}
CalPrintDialog::~CalPrintDialog()
@@ -255,7 +255,7 @@ void CalPrintDialog::setOrientation( CalPrinter::ePrintOrientation orientation )
KOrg::PrintPlugin *CalPrintDialog::selectedPlugin()
{
int id = mTypeGroup->selectedId();
- if ( mPluginIDs.contains( id ) ) {
+ if ( mPluginIDs.tqcontains( id ) ) {
return mPluginIDs[id];
} else {
return 0;