[Uml-devel] KDE_3_2_BRANCH: kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Mon Jan 19 05:19:03 UTC 2004
CVS commit by jriddell:
Remove more #ifdefs testing for old KDE versions which seem to break compilation
M +0 -35 uml.cpp 1.85.2.2
--- kdesdk/umbrello/umbrello/uml.cpp #1.85.2.1:1.85.2.2
@@ -419,9 +419,5 @@ void UMLApp::saveOptions() {
config -> writeEntry( "lastFile", "" );
} else {
-#if KDE_IS_VERSION(3,1,3)
- config -> writePathEntry( "lastFile", doc -> URL().prettyURL() );
-#else
config -> writeEntry( "lastFile", doc -> URL().prettyURL() );
-#endif
}
config->writeEntry( "imageMimetype", getImageMimetype() );
@@ -761,35 +757,4 @@ void UMLApp::slotEditPaste() {
}
-#if KDE_VERSION < 0x030190
-////////////////////////////////////////////////////////////////////////////////////////////////////
-void UMLApp::slotViewToolBar() {
- slotStatusMsg(i18n("Toggling toolbar..."));
-
- ///////////////////////////////////////////////////////////////////
- // turn Toolbar on or off
-
- if(!viewToolBar->isChecked()) {
- toolBar("mainToolBar")->hide();
- } else {
- toolBar("mainToolBar")->show();
- }
-
- slotStatusMsg(i18n("Ready."));
-}
-////////////////////////////////////////////////////////////////////////////////////////////////////
-void UMLApp::slotViewStatusBar() {
- slotStatusMsg(i18n("Toggle the statusbar..."));
- ///////////////////////////////////////////////////////////////////
- //turn Statusbar on or off
- if(!viewStatusBar->isChecked()) {
- statusBar()->hide();
- } else {
- statusBar()->show();
- }
-
- slotStatusMsg(i18n("Ready."));
-}
-#endif
-
////////////////////////////////////////////////////////////////////////////////////////////////////
void UMLApp::slotStatusMsg(const QString &text) {
More information about the umbrello-devel
mailing list