summaryrefslogtreecommitdiffstats
path: root/koshell/koshell_shell.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /koshell/koshell_shell.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'koshell/koshell_shell.cc')
-rw-r--r--koshell/koshell_shell.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/koshell/koshell_shell.cc b/koshell/koshell_shell.cc
index 27bec9d6..9639ae71 100644
--- a/koshell/koshell_shell.cc
+++ b/koshell/koshell_shell.cc
@@ -66,7 +66,7 @@ KoShellWindow::KoShellWindow()
// Setup the sidebar
m_pSidebar = new IconSidePane( m_pLayout );
- m_pSidebar->setSizePolicy( TQSizePolicy( TQSizePolicy::Maximum,
+ m_pSidebar->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Maximum,
TQSizePolicy::Preferred ) );
m_pSidebar->setActionCollection( actionCollection() );
m_grpFile = m_pSidebar->insertGroup(i18n("Components"), false, TQT_TQOBJECT(this), TQT_SLOT( slotSidebar_Part(int )));
@@ -75,7 +75,7 @@ KoShellWindow::KoShellWindow()
// Setup the tabbar
m_pFrame = new KTabWidget( m_pLayout );
- m_pFrame->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum,
+ m_pFrame->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum,
TQSizePolicy::Preferred ) );
m_pFrame->setTabPosition( KTabWidget::Bottom );
@@ -158,7 +158,7 @@ bool KoShellWindow::openDocumentInternal( const KURL &url, KoDocument* )
/*if (!KIO::NetAccess::exists(url,true,0) )
{
- KMessageBox::error(0L, i18n("The file %1 doesn't exist.").arg(url.url()) );
+ KMessageBox::error(0L, i18n("The file %1 doesn't exist.").tqarg(url.url()) );
recentAction()->removeURL(url); //remove the file from the recent-opened-file-list
saveRecentFiles();
return false;
@@ -175,7 +175,7 @@ bool KoShellWindow::openDocumentInternal( const KURL &url, KoDocument* )
KoFilterManager *manager = new KoFilterManager( url.path() );
TQCString mimetype; // an empty mimetype means, that the "nearest"
- KoFilter::ConversionStatus status = manager->exp0rt( tmpFile->name(), mimetype ); // KOffice part will be chosen
+ KoFilter::ConversiontqStatus status = manager->exp0rt( tmpFile->name(), mimetype ); // KOffice part will be chosen
delete manager;
if ( status != KoFilter::OK || mimetype.isEmpty() ) {
@@ -503,7 +503,7 @@ void KoShellWindow::switchToPage( TQValueList<Page>::Iterator it )
v->setFocus();
partSpecificHelpAction->setEnabled(true);
- partSpecificHelpAction->setText(i18n("%1 Handbook").arg((*m_activePage).m_pDoc->instance()->aboutData()->programName()));
+ partSpecificHelpAction->setText(i18n("%1 Handbook").tqarg((*m_activePage).m_pDoc->instance()->aboutData()->programName()));
}
void KoShellWindow::slotFileNew()