diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:27 -0600 |
commit | bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (patch) | |
tree | 07fafab2b93966c9e2128ba52337a43d388d300c /ksim/library/chart.cpp | |
parent | 955e20356d63ed405198c8143617a8a0ca8bfc02 (diff) | |
download | tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.tar.gz tdeutils-bcc684e28ad6f9ebeeae5d334a4dc297cef3e816.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksim/library/chart.cpp')
-rw-r--r-- | ksim/library/chart.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp index ca555a4..388b9ea 100644 --- a/ksim/library/chart.cpp +++ b/ksim/library/chart.cpp @@ -251,7 +251,7 @@ void KSim::Chart::buildPixmaps() void KSim::Chart::configureObject(bool repaintWidget) { - TQSize oldSize = tqsizeHint(); + TQSize oldSize = sizeHint(); KSim::Config::config()->setGroup("Misc"); d->size = KSim::Config::config()->readSizeEntry("GraphSize"); @@ -264,10 +264,10 @@ void KSim::Chart::configureObject(bool repaintWidget) } // Update our tqgeometry if we need to let any - // tqlayout know about our tqsizeHint() change - if (oldSize != tqsizeHint()) { + // tqlayout know about our sizeHint() change + if (oldSize != sizeHint()) { // Using resize() here seems to be needed - resize(tqsizeHint()); + resize(sizeHint()); updateGeometry(); } @@ -279,14 +279,14 @@ void KSim::Chart::configureObject(bool repaintWidget) update(); } -TQSize KSim::Chart::tqsizeHint() const +TQSize KSim::Chart::sizeHint() const { return d->size; } -TQSize KSim::Chart::tqminimumSizeHint() const +TQSize KSim::Chart::minimumSizeHint() const { - return tqsizeHint(); + return sizeHint(); } void KSim::Chart::resizeEvent(TQResizeEvent *re) @@ -608,7 +608,7 @@ void KSim::Chart::init(bool krell, int maxValue, const TQString &title) { setConfigString("StyleChart"); setThemeConfigOnly(false); - tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed)); + setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed)); d = new Private; KSim::Config::config()->setGroup("Misc"); |