diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/dialogs/kspread_dlg_comment.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/kspread_dlg_comment.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_comment.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kspread/dialogs/kspread_dlg_comment.cc b/kspread/dialogs/kspread_dlg_comment.cc index 79ce9c49..603ceae5 100644 --- a/kspread/dialogs/kspread_dlg_comment.cc +++ b/kspread/dialogs/kspread_dlg_comment.cc @@ -21,9 +21,9 @@ * Boston, MA 02110-1301, USA. */ -#include <qmultilineedit.h> -#include <qpushbutton.h> -#include <qlayout.h> +#include <tqmultilineedit.h> +#include <tqpushbutton.h> +#include <tqlayout.h> #include <klocale.h> #include <kbuttonbox.h> @@ -38,16 +38,16 @@ using namespace KSpread; -CommentDialog::CommentDialog( View* parent, const char* name,const QPoint &_marker) - : KDialogBase( parent, name,TRUE,i18n("Cell Comment"),Ok|Cancel ) +CommentDialog::CommentDialog( View* tqparent, const char* name,const TQPoint &_marker) + : KDialogBase( tqparent, name,TRUE,i18n("Cell Comment"),Ok|Cancel ) { - m_pView = parent; + m_pView = tqparent; marker= _marker; - QWidget *page = new QWidget( this ); + TQWidget *page = new TQWidget( this ); setMainWidget(page); - QVBoxLayout *lay1 = new QVBoxLayout( page, 0, spacingHint() ); + TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() ); - multiLine = new QMultiLineEdit( page ); + multiLine = new TQMultiLineEdit( page ); lay1->addWidget(multiLine); multiLine->setFocus(); @@ -57,8 +57,8 @@ CommentDialog::CommentDialog( View* parent, const char* name,const QPoint &_mark if(!cell->format()->comment(marker.x(),marker.y()).isEmpty()) multiLine->setText(cell->format()->comment(marker.x(),marker.y())); - connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) ); - connect(multiLine, SIGNAL(textChanged ()),this, SLOT(slotTextChanged())); + connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) ); + connect(multiLine, TQT_SIGNAL(textChanged ()),this, TQT_SLOT(slotTextChanged())); slotTextChanged(); |