diff options
author | Timothy Pearson <[email protected]> | 2014-10-22 01:27:30 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-22 01:27:30 -0500 |
commit | 2cd15151863796c2e708f6193f0f8420a6363383 (patch) | |
tree | 0ea2792da210f89f8a66c45472749b2e13d36404 /tdemdi | |
parent | 628f37ef39a7f2dd8d64a3f8b0c08f384362fc91 (diff) | |
download | tdelibs-2cd15151863796c2e708f6193f0f8420a6363383.tar.gz tdelibs-2cd15151863796c2e708f6193f0f8420a6363383.zip |
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
Diffstat (limited to 'tdemdi')
-rw-r--r-- | tdemdi/tdemdi/dockcontainer.cpp | 4 | ||||
-rw-r--r-- | tdemdi/tdemdi/mainwindow.cpp | 8 | ||||
-rw-r--r-- | tdemdi/tdemdidockcontainer.cpp | 4 | ||||
-rw-r--r-- | tdemdi/tdemdimainfrm.cpp | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/tdemdi/tdemdi/dockcontainer.cpp b/tdemdi/tdemdi/dockcontainer.cpp index be7c00929..7df8dbf6b 100644 --- a/tdemdi/tdemdi/dockcontainer.cpp +++ b/tdemdi/tdemdi/dockcontainer.cpp @@ -203,7 +203,7 @@ void DockContainer::insertWidget (KDockWidget *dwdg, TQPixmap pixmap, const TQSt connect(btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(changeOverlapMode())); } - m_tb->appendTab(pixmap.isNull()?SmallIcon("misc"):pixmap,tab,w->tabPageLabel()); + m_tb->appendTab(pixmap.isNull()?SmallIcon("application-vnd.tde.misc"):pixmap,tab,w->tabPageLabel()); m_tb->tab(tab)->installEventFilter( this ); kdDebug(760)<<"NAMENAMENAMENAME:===========================:"<<w->tabPageLabel()<<endl; @@ -457,7 +457,7 @@ void DockContainer::setPixmap(KDockWidget* widget ,const TQPixmap& pixmap) int id=m_ws->id(widget); if (id==-1) return; KMultiTabBarTab *tab=m_tb->tab(id); - tab->setIcon(pixmap.isNull()?SmallIcon("misc"):pixmap); + tab->setIcon(pixmap.isNull()?SmallIcon("application-vnd.tde.misc"):pixmap); } void DockContainer::save(TDEConfig* cfg,const TQString& group_or_prefix) diff --git a/tdemdi/tdemdi/mainwindow.cpp b/tdemdi/tdemdi/mainwindow.cpp index 3b10a1b98..42db02036 100644 --- a/tdemdi/tdemdi/mainwindow.cpp +++ b/tdemdi/tdemdi/mainwindow.cpp @@ -144,10 +144,10 @@ void MainWindow::setupMainDock () void MainWindow::setupToolViews () { - m_leftContainer = createDockWidget("KMdiDock::leftDock",SmallIcon("misc"),0L,"Left Dock"); - m_rightContainer = createDockWidget("KMdiDock::rightDock",SmallIcon("misc"),0L,"Right Dock"); - m_topContainer = createDockWidget("KMdiDock::topDock",SmallIcon("misc"),0L,"Top Dock"); - m_bottomContainer = createDockWidget("KMdiDock::bottomDock",SmallIcon("misc"),0L,"Bottom Dock"); + m_leftContainer = createDockWidget("KMdiDock::leftDock",SmallIcon("application-vnd.tde.misc"),0L,"Left Dock"); + m_rightContainer = createDockWidget("KMdiDock::rightDock",SmallIcon("application-vnd.tde.misc"),0L,"Right Dock"); + m_topContainer = createDockWidget("KMdiDock::topDock",SmallIcon("application-vnd.tde.misc"),0L,"Top Dock"); + m_bottomContainer = createDockWidget("KMdiDock::bottomDock",SmallIcon("application-vnd.tde.misc"),0L,"Bottom Dock"); KDockWidget *mainDock=getMainDockWidget(); KDockWidget *w=mainDock; diff --git a/tdemdi/tdemdidockcontainer.cpp b/tdemdi/tdemdidockcontainer.cpp index d6771b597..36c99d3af 100644 --- a/tdemdi/tdemdidockcontainer.cpp +++ b/tdemdi/tdemdidockcontainer.cpp @@ -226,7 +226,7 @@ void KMdiDockContainer::insertWidget ( KDockWidget *dwdg, TQPixmap pixmap, const connect( btn, TQT_SIGNAL( clicked() ), this, TQT_SLOT( changeOverlapMode() ) ); } - m_tb->appendTab( pixmap.isNull() ? SmallIcon( "misc" ) : pixmap, tab, w->tabPageLabel() ); + m_tb->appendTab( pixmap.isNull() ? SmallIcon( "application-vnd.tde.misc" ) : pixmap, tab, w->tabPageLabel() ); m_tb->tab( tab )->installEventFilter( this ); kdDebug( 760 ) << k_funcinfo << "Added tab with label " << w->tabPageLabel() << " to the tabbar" << endl; @@ -509,7 +509,7 @@ void KMdiDockContainer::setPixmap( KDockWidget* widget , const TQPixmap& pixmap if ( id == -1 ) return ; KMultiTabBarTab *tab = m_tb->tab( id ); - tab->setIcon( pixmap.isNull() ? SmallIcon( "misc" ) : pixmap ); + tab->setIcon( pixmap.isNull() ? SmallIcon( "application-vnd.tde.misc" ) : pixmap ); } void KMdiDockContainer::save( TQDomElement& dockEl ) diff --git a/tdemdi/tdemdimainfrm.cpp b/tdemdi/tdemdimainfrm.cpp index 19059e12e..cc3972e71 100644 --- a/tdemdi/tdemdimainfrm.cpp +++ b/tdemdi/tdemdimainfrm.cpp @@ -1923,10 +1923,10 @@ void KMdiMainFrm::findToolViewsDockedToMain( TQPtrList<KDockWidget>* list, KDock void KMdiMainFrm::setupToolViewsForIDEALMode() { - m_leftContainer = createDockWidget( "KMdiDock::leftDock", SmallIcon( "misc" ), 0L, "Left Dock" ); - m_rightContainer = createDockWidget( "KMdiDock::rightDock", SmallIcon( "misc" ), 0L, "Right Dock" ); - m_topContainer = createDockWidget( "KMdiDock::topDock", SmallIcon( "misc" ), 0L, "Top Dock" ); - m_bottomContainer = createDockWidget( "KMdiDock::bottomDock", SmallIcon( "misc" ), 0L, "Bottom Dock" ); + m_leftContainer = createDockWidget( "KMdiDock::leftDock", SmallIcon( "application-vnd.tde.misc" ), 0L, "Left Dock" ); + m_rightContainer = createDockWidget( "KMdiDock::rightDock", SmallIcon( "application-vnd.tde.misc" ), 0L, "Right Dock" ); + m_topContainer = createDockWidget( "KMdiDock::topDock", SmallIcon( "application-vnd.tde.misc" ), 0L, "Top Dock" ); + m_bottomContainer = createDockWidget( "KMdiDock::bottomDock", SmallIcon( "application-vnd.tde.misc" ), 0L, "Bottom Dock" ); KDockWidget *mainDock = getMainDockWidget(); KDockWidget *w = mainDock; |