diff options
Diffstat (limited to 'kimagemapeditor/kimeshell.cpp')
-rw-r--r-- | kimagemapeditor/kimeshell.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kimagemapeditor/kimeshell.cpp b/kimagemapeditor/kimeshell.cpp index d919d2b7..071f3299 100644 --- a/kimagemapeditor/kimeshell.cpp +++ b/kimagemapeditor/kimeshell.cpp @@ -29,7 +29,7 @@ #include <kapplication.h> #include <kdebug.h> -#include <qhbox.h> +#include <tqhbox.h> #include "drawzone.h" #include "kimagemapeditor.h" // the KPart @@ -44,8 +44,8 @@ KimeShell::KimeShell(const char *name ) KDockWidget* mainDock; mainDock = createDockWidget( "MainDockWidget", 0L, 0L, "main_dock_widget"); - QWidget *w = new QHBox( mainDock ); -// QLayout* layout = new QGridLayout( mainDock ); + TQWidget *w = new TQHBox( mainDock ); +// TQLayout* layout = new TQGridLayout( mainDock ); mainDock->setWidget( w ); // allow others to dock to the 4 sides @@ -67,17 +67,17 @@ KimeShell::KimeShell(const char *name ) createShellGUI( true ); guiFactory()->addClient( m_part ); KParts::GUIActivateEvent ev( true ); - QApplication::sendEvent( m_part, &ev ); + TQApplication::sendEvent( m_part, &ev ); //setCentralWidget(part->widget()); if (!initialGeometrySet()) - resize( QSize(725, 525).expandedTo(minimumSizeHint())); + resize( TQSize(725, 525).expandedTo(minimumSizeHint())); - connect( m_part, SIGNAL(setStatusBarText(const QString &)), - this, SLOT(slotSetStatusBarText ( const QString & ))); + connect( m_part, TQT_SIGNAL(setStatusBarText(const TQString &)), + this, TQT_SLOT(slotSetStatusBarText ( const TQString & ))); - connect( m_part, SIGNAL(setWindowCaption(const QString &)), - this, SLOT(setCaption( const QString &))); + connect( m_part, TQT_SIGNAL(setWindowCaption(const TQString &)), + this, TQT_SLOT(setCaption( const TQString &))); setAutoSaveSettings( "General Options" ); @@ -109,16 +109,16 @@ bool KimeShell::queryExit() void KimeShell::setupActions() { - (void)KStdAction::openNew(this, SLOT(fileNew()), actionCollection()); + (void)KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); // File Quit - (void)KStdAction::quit(this, SLOT(close()),actionCollection()); + (void)KStdAction::quit(this, TQT_SLOT(close()),actionCollection()); - (void)KStdAction::showToolbar(this, SLOT(optionsShowToolbar()), actionCollection()); - (void)KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), actionCollection()); - (void)KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection()); - (void)KStdAction::showStatusbar(this, SLOT(optionsShowStatusbar()), actionCollection()); + (void)KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection()); + (void)KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); + (void)KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); + (void)KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection()); } @@ -155,7 +155,7 @@ void KimeShell::openLastFile() void KimeShell::fileOpen() { - KURL url=KFileDialog::getOpenURL(QString::null, + KURL url=KFileDialog::getOpenURL(TQString::null, "*.png *.jpg *.jpeg *.gif *.htm *.html|" + i18n( "Web Files" ) + "\n" "*.png *.jpg *.jpeg *.gif *.bmp *.xbm *.xpm *.pnm *.mng|" + i18n( "Images" ) + "\n" "*.htm *.html|" + i18n( "HTML Files" ) + "\n" @@ -258,8 +258,8 @@ void KimeShell::optionsConfigureToolbars() // use the standard toolbar editor KEditToolbar dlg(factory()); - connect(&dlg, SIGNAL(newToolbarConfig()), - this, SLOT(applyNewToolbarConfig())); + connect(&dlg, TQT_SIGNAL(newToolbarConfig()), + this, TQT_SLOT(applyNewToolbarConfig())); dlg.exec(); } |