diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /lib/kopalette | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kopalette')
-rw-r--r-- | lib/kopalette/kopalette.cc | 10 | ||||
-rw-r--r-- | lib/kopalette/kopalette.h | 2 | ||||
-rw-r--r-- | lib/kopalette/kopalettemanager.cc | 4 | ||||
-rw-r--r-- | lib/kopalette/kopalettemanager.h | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/lib/kopalette/kopalette.cc b/lib/kopalette/kopalette.cc index 600dad1c..ed9df8e6 100644 --- a/lib/kopalette/kopalette.cc +++ b/lib/kopalette/kopalette.cc @@ -21,12 +21,12 @@ #include <tqlabel.h> #include <tqtoolbutton.h> #include <tqtabwidget.h> -#include <tqlayout.h> +#include <layout.h> #include <tqtooltip.h> #include <tqwhatsthis.h> #include <tqimage.h> #include <tqpixmap.h> -#include <tqlayout.h> +#include <layout.h> #include <kdebug.h> #include <kglobal.h> @@ -54,8 +54,8 @@ KoPalette::KoPalette(TQWidget * parent, const char * name) setHorizontallyStretchable(false); setNewLine(true); - tqlayout() -> setSpacing(0); - tqlayout() -> setMargin(0); + layout() -> setSpacing(0); + layout() -> setMargin(0); resetFont(); } @@ -82,7 +82,7 @@ KoPalette::~KoPalette() void KoPalette::setMainWidget(TQWidget * widget) { setWidget(widget); - resize( TQSize(285, 233).expandedTo(tqminimumSizeHint()) ); + resize( TQSize(285, 233).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); widget->setFont(m_font); m_page = widget; diff --git a/lib/kopalette/kopalette.h b/lib/kopalette/kopalette.h index 48d9cb3c..3ea6c475 100644 --- a/lib/kopalette/kopalette.h +++ b/lib/kopalette/kopalette.h @@ -25,7 +25,7 @@ #include <tqpixmap.h> #include <tqstring.h> #include <tqfont.h> -#include <tqlayout.h> +#include <layout.h> #include <koffice_export.h> #include "kopalettemanager.h" diff --git a/lib/kopalette/kopalettemanager.cc b/lib/kopalette/kopalettemanager.cc index 94ea8d4d..91d237a3 100644 --- a/lib/kopalette/kopalettemanager.cc +++ b/lib/kopalette/kopalettemanager.cc @@ -165,8 +165,8 @@ void KoPaletteManager::addWidget(TQWidget * widget, } KToggleAction * a; - a = new KToggleAction(i18n("Show %1").tqarg(widget->caption()), 0, m_mapper, TQT_SLOT(map()), m_actionCollection); - a->setCheckedState(i18n("Hide %1").tqarg(widget->caption())); + a = new KToggleAction(i18n("Show %1").arg(widget->caption()), 0, m_mapper, TQT_SLOT(map()), m_actionCollection); + a->setCheckedState(i18n("Hide %1").arg(widget->caption())); m_mapper->setMapping(a, m_widgetNames->count()); // This is the position at which we'll insert the action m_actions->insert( name, a ); diff --git a/lib/kopalette/kopalettemanager.h b/lib/kopalette/kopalettemanager.h index be9e7126..dd8f1686 100644 --- a/lib/kopalette/kopalettemanager.h +++ b/lib/kopalette/kopalettemanager.h @@ -172,7 +172,7 @@ public slots: void showAllPalettes(bool shown); /** - * Restores the palette configuration to the default tqlayout, i.e, the tqlayout + * Restores the palette configuration to the default layout, i.e, the layout * preferred by each docker. */ virtual void slotReset(); |