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_goto.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_goto.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_goto.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/dialogs/kspread_dlg_goto.cc b/kspread/dialogs/kspread_dlg_goto.cc index 12117e36..457dc80c 100644 --- a/kspread/dialogs/kspread_dlg_goto.cc +++ b/kspread/dialogs/kspread_dlg_goto.cc @@ -22,8 +22,8 @@ * Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <klineedit.h> @@ -38,15 +38,15 @@ using namespace KSpread; -GotoDialog::GotoDialog( View* parent, const char* name ) - : KDialogBase( parent, name, TRUE, i18n("Goto Cell"), Ok|Cancel ) +GotoDialog::GotoDialog( View* tqparent, const char* name ) + : KDialogBase( tqparent, name, TRUE, i18n("Goto Cell"), Ok|Cancel ) { - m_pView = parent; - QWidget *page = new QWidget( this ); + m_pView = tqparent; + TQWidget *page = new TQWidget( this ); setMainWidget(page); - QVBoxLayout *lay1 = new QVBoxLayout( page, 0, spacingHint() ); + TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() ); - QLabel *label = new QLabel(i18n("Enter cell:"), page); + TQLabel *label = new TQLabel(i18n("Enter cell:"), page); lay1->addWidget(label); m_nameCell = new KLineEdit( page ); @@ -55,12 +55,12 @@ GotoDialog::GotoDialog( View* parent, const char* name ) m_nameCell->setFocus(); enableButtonOK( false ); - connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) ); - connect( m_nameCell, SIGNAL(textChanged ( const QString & )), - this, SLOT(textChanged ( const QString & ))); + connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) ); + connect( m_nameCell, TQT_SIGNAL(textChanged ( const TQString & )), + this, TQT_SLOT(textChanged ( const TQString & ))); } -void GotoDialog::textChanged ( const QString &_text ) +void GotoDialog::textChanged ( const TQString &_text ) { enableButtonOK(!_text.isEmpty()); } @@ -69,7 +69,7 @@ void GotoDialog::slotOk() { m_pView->doc()->emitBeginOperation( false ); - QString tmp_upper; + TQString tmp_upper; tmp_upper=m_nameCell->text().upper(); Region region(m_pView, tmp_upper); if ( region.isValid() ) |