diff options
Diffstat (limited to 'kexi/main/startup/KexiStartupFileDialog_win.cpp')
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog_win.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/main/startup/KexiStartupFileDialog_win.cpp b/kexi/main/startup/KexiStartupFileDialog_win.cpp index 6b8ab9d4..29567ce0 100644 --- a/kexi/main/startup/KexiStartupFileDialog_win.cpp +++ b/kexi/main/startup/KexiStartupFileDialog_win.cpp @@ -107,7 +107,7 @@ void KexiStartupFileDialogBase::init(const TQString& startDir, const TQString& f //TODO TQtMsgHandler oldHandler = tqInstallMsgHandler( silenceTQToolBar ); //TODO toolbar = 0; //(js) -//(js) toolbar = new KToolBar( d->mainWidget, "KFileDialog::toolbar", true); +//(js) toolbar = new TDEToolBar( d->mainWidget, "KFileDialog::toolbar", true); //(js) toolbar->setFlat(true); //TODO tqInstallMsgHandler( oldHandler ); @@ -179,7 +179,7 @@ void KexiStartupFileDialogBase::init(const TQString& startDir, const TQString& f ops->setupMenu(KDirOperator::SortActions | KDirOperator::FileActions | KDirOperator::ViewActions); - KActionCollection *coll = ops->actionCollection(); + TDEActionCollection *coll = ops->actionCollection(); // plug nav items into the toolbar coll->action( "up" )->plug( toolbar ); @@ -211,12 +211,12 @@ void KexiStartupFileDialogBase::init(const TQString& startDir, const TQString& f connect( d->bookmarkHandler, TQT_SIGNAL( openURL( const TQString& )), TQT_SLOT( enterURL( const TQString& ))); - KToggleAction *showSidebarAction = - new KToggleAction(i18n("Show Quick Access Navigation Panel"), Key_F9, coll,"toggleSpeedbar"); + TDEToggleAction *showSidebarAction = + new TDEToggleAction(i18n("Show Quick Access Navigation Panel"), Key_F9, coll,"toggleSpeedbar"); connect( showSidebarAction, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( toggleSpeedbar( bool )) ); - KActionMenu *menu = new KActionMenu( i18n("Configure"), "configure", this, "extra menu" ); + TDEActionMenu *menu = new TDEActionMenu( i18n("Configure"), "configure", this, "extra menu" ); menu->setWhatsThis(i18n("<qt>This is the configuration menu for the file dialog. " "Various options can be accessed from this menu including: <ul>" "<li>how files are sorted in the list</li>" @@ -257,8 +257,8 @@ void KexiStartupFileDialogBase::init(const TQString& startDir, const TQString& f toolbar->setItemAutoSized (PATH_COMBO); - toolbar->setIconText(KToolBar::IconOnly); - toolbar->setBarPos(KToolBar::Top); + toolbar->setIconText(TDEToolBar::IconOnly); + toolbar->setBarPos(TDEToolBar::Top); toolbar->setMovingEnabled(false); toolbar->adjustSize(); @@ -471,6 +471,6 @@ void KexiStartupFileDialogBase::saveLastVisitedPath(const TQString& path) TQFileInfo fi(path); TQString dir( fi.isDir() ? fi.absFilePath() : fi.dir(true).absPath() ); if (!dir.isEmpty()) - KRecentDirs::add(m_lastVisitedPathsVariable, dir); + TDERecentDirs::add(m_lastVisitedPathsVariable, dir); } } |