summaryrefslogtreecommitdiffstats
path: root/kalzium/src/spectrumviewimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kalzium/src/spectrumviewimpl.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/spectrumviewimpl.cpp')
-rw-r--r--kalzium/src/spectrumviewimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/spectrumviewimpl.cpp b/kalzium/src/spectrumviewimpl.cpp
index 89bc36ac..d862e5fd 100644
--- a/kalzium/src/spectrumviewimpl.cpp
+++ b/kalzium/src/spectrumviewimpl.cpp
@@ -22,10 +22,10 @@
#include "exporter.h"
-SpectrumViewImpl::SpectrumViewImpl( TQWidget *parent, const char* name )
- : SpectrumView( parent, name )
+SpectrumViewImpl::SpectrumViewImpl( TQWidget *tqparent, const char* name )
+ : SpectrumView( tqparent, name )
{
- resize( minimumSizeHint() );
+ resize( tqminimumSizeHint() );
// simulating an update
m_spectrumWidget->setRightBorder( maximumValue->value() );
exportButton->setGuiItem( KGuiItem( i18n( "&Export Spectrum as Image" ), "fileexport" ) );
@@ -35,7 +35,7 @@ void SpectrumViewImpl::slotExportAsImage()
{
Exporter* exporter = new Exporter();
TQString fileName = KFileDialog::getSaveFileName(
- TQString::null, exporter->supportedImageFormats(),
+ TQString(), exporter->supportedImageFormats(),
this, i18n( "Save Spectrum" ) );
if( !fileName.isEmpty() )
{