summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/sheet_properties.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/dialogs/sheet_properties.cc
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/dialogs/sheet_properties.cc')
-rw-r--r--kspread/dialogs/sheet_properties.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kspread/dialogs/sheet_properties.cc b/kspread/dialogs/sheet_properties.cc
index e7854935..efd30b03 100644
--- a/kspread/dialogs/sheet_properties.cc
+++ b/kspread/dialogs/sheet_properties.cc
@@ -17,8 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qvbox.h>
-#include <qcheckbox.h>
+#include <tqvbox.h>
+#include <tqcheckbox.h>
#include <kcombobox.h>
#include <kdialogbase.h>
@@ -31,15 +31,15 @@
using namespace KSpread;
-SheetPropertiesDialog::SheetPropertiesDialog( QWidget* parent ):
- KDialogBase( parent, "sheetPropertiesDialog", true,
+SheetPropertiesDialog::SheetPropertiesDialog( TQWidget* tqparent ):
+ KDialogBase( tqparent, "sheetPropertiesDialog", true,
i18n("Sheet Properties"),
KDialogBase::Ok|KDialogBase::Cancel|KDialogBase::Default )
{
- QVBox* mainWidget = makeVBoxMainWidget();
+ TQVBox* mainWidget = makeVBoxMainWidget();
d = new SheetPropertiesBase( mainWidget );
- QWidget* spacer = new QWidget( mainWidget );
- spacer->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Expanding );
+ TQWidget* spacer = new TQWidget( mainWidget );
+ spacer->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Expanding );
enableButtonSeparator( true );
}
@@ -63,7 +63,7 @@ void SheetPropertiesDialog::slotDefault()
setCapitalizeFirstLetter( false );
}
-Sheet::LayoutDirection SheetPropertiesDialog::layoutDirection() const
+Sheet::LayoutDirection SheetPropertiesDialog::tqlayoutDirection() const
{
if( d->directionComboBox->currentText() == i18n( "Left to Right" ) )
return Sheet::LeftToRight;