Fix accidental conversion of dockwin

pull/21/head
Timothy Pearson 13 years ago
parent 9fa7d0658d
commit 840aac8d62

@ -1914,7 +1914,7 @@ Features
- protrinity5-z item 9: first part of this item, concerning sync of SEEN flags in read only folders (issue1376) (703473) - protrinity5-z item 9: first part of this item, concerning sync of SEEN flags in read only folders (issue1376) (703473)
protrinity5-z item 9: second part, ability to store custom flags on the server (704199) merges protrinity5-z item 9: second part, ability to store custom flags on the server (704199) merges
- protrinity5 w1-20 (665722) - protrinity5 w1-20 (665722)
- protrinity5 w1-11: Let the navigator toolbar be always the last one, if it's in the top doctwindow ( 666073) - protrinity5 w1-11: Let the navigator toolbar be always the last one, if it's in the top dockwindow ( 666073)
- protrinity5 W1-19 / kolab/issue1749 Since mail folders are not groupware folders, do a full sync, when - protrinity5 W1-19 / kolab/issue1749 Since mail folders are not groupware folders, do a full sync, when
the mail part is already active. (668988) the mail part is already active. (668988)
- protrinity5 It's now possible to resize the magenta rectangle that represents the event in the freebusy - protrinity5 It's now possible to resize the magenta rectangle that represents the event in the freebusy

@ -646,7 +646,7 @@ void KDGanttView::slotHeaderSizeChanged()
*/ */
TQDockWindow* KDGanttView::legendDoctwindow() const TQDockWindow* KDGanttView::legendDoctwindow() const
{ {
return myLegend->doctwindow(); return myLegend->dockwindow();
} }

@ -2553,11 +2553,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent,
clearLegend(); clearLegend();
showMe ( false ); showMe ( false );
} }
void KDLegendWidget::setAsDoctwindow( bool doctwin ) void KDLegendWidget::setAsDoctwindow( bool dockwin )
{ {
if ( (dock == 0 && !doctwin) || ( dock && doctwin ) ) if ( (dock == 0 && !dockwin) || ( dock && dockwin ) )
return; return;
if ( doctwin ) if ( dockwin )
{ {
setMaximizedWidget( 0 ); setMaximizedWidget( 0 );
showMe ( false ); showMe ( false );
@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDoctwindow( )
} }
TQDockWindow* KDLegendWidget::doctwindow( ) TQDockWindow* KDLegendWidget::dockwindow( )
{ {
return dock; return dock;
} }

@ -53,7 +53,7 @@
#include <tqlabel.h> #include <tqlabel.h>
#include <tqbrush.h> #include <tqbrush.h>
#include <tqvbox.h> #include <tqvbox.h>
#include <tqdoctwindow.h> #include <tqdockwindow.h>
#include <tqtimer.h> #include <tqtimer.h>
#include "KDGanttView.h" #include "KDGanttView.h"
@ -341,9 +341,9 @@ public:
void clearLegend(); void clearLegend();
void setFont( TQFont ); void setFont( TQFont );
void drawToPainter( TQPainter *p ); void drawToPainter( TQPainter *p );
void setAsDoctwindow( bool doctwin ); void setAsDoctwindow( bool dockwin );
bool asDoctwindow(); bool asDoctwindow();
TQDockWindow* doctwindow(); TQDockWindow* dockwindow();
TQSize legendSize(); TQSize legendSize();
TQSize legendSizeHint(); TQSize legendSizeHint();
private: private:

@ -842,7 +842,7 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin )
createGUI( plugin->part() ); createGUI( plugin->part() );
KToolBar* navigatorToolBar = findToolBar( "navigatorToolBar" ); KToolBar* navigatorToolBar = findToolBar( "navigatorToolBar" );
// Let the navigator toolbar be always the last one, if it's in the top doctwindow // Let the navigator toolbar be always the last one, if it's in the top dockwindow
if ( navigatorToolBar && !navigatorToolBar->isHidden() && if ( navigatorToolBar && !navigatorToolBar->isHidden() &&
navigatorToolBar->barPos() == KToolBar::Top ) { navigatorToolBar->barPos() == KToolBar::Top ) {
topDock()->moveDockWindow( navigatorToolBar, -1 ); topDock()->moveDockWindow( navigatorToolBar, -1 );

@ -34,7 +34,7 @@ install( FILES korgac.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
tde_add_executable( korgac AUTOMOC tde_add_executable( korgac AUTOMOC
SOURCES SOURCES
korgacmain.cpp alarmdialog.cpp alarmdoctwindow.cpp koalarmclient.cpp korgacmain.cpp alarmdialog.cpp alarmdockwindow.cpp koalarmclient.cpp
alarmclientiface.skel alarmclientiface.skel
LINK korganizer_eventviewer-shared LINK korganizer_eventviewer-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}

@ -6,7 +6,7 @@ korgac_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $
korgac_LDADD = $(LIB_TDEUI) \ korgac_LDADD = $(LIB_TDEUI) \
$(top_builddir)/korganizer/libkorganizer_eventviewer.la $(top_builddir)/korganizer/libkorganizer_eventviewer.la
korgac_SOURCES = korgacmain.cpp alarmdialog.cpp \ korgac_SOURCES = korgacmain.cpp alarmdialog.cpp \
alarmdoctwindow.cpp koalarmclient.cpp \ alarmdockwindow.cpp koalarmclient.cpp \
alarmclientiface.skel alarmclientiface.skel
check_PROGRAMS = testalarmdlg check_PROGRAMS = testalarmdlg
@ -17,7 +17,7 @@ testalarmdlg_LDADD = $(LIB_TDEUI) $(top_builddir)/libkcal/libkcal.la \
testalarmdlg_SOURCES = testalarmdlg.cpp alarmdialog.cpp testalarmdlg_SOURCES = testalarmdlg.cpp alarmdialog.cpp
noinst_HEADERS = alarmclientiface.h alarmdialog.h \ noinst_HEADERS = alarmclientiface.h alarmdialog.h \
alarmdoctwindow.h koalarmclient.h alarmdockwindow.h koalarmclient.h
METASOURCES = AUTO METASOURCES = AUTO

@ -22,7 +22,7 @@
without including the source code for TQt in the source distribution. without including the source code for TQt in the source distribution.
*/ */
#include "alarmdoctwindow.h" #include "alarmdockwindow.h"
#include "koalarmclient.h" #include "koalarmclient.h"
#include <kapplication.h> #include <kapplication.h>
@ -203,4 +203,4 @@ void AlarmDockWindow::slotQuit()
emit quitSignal(); emit quitSignal();
} }
#include "alarmdoctwindow.moc" #include "alarmdockwindow.moc"

@ -26,7 +26,7 @@
#include "koalarmclient.h" #include "koalarmclient.h"
#include "alarmdoctwindow.h" #include "alarmdockwindow.h"
#include "alarmdialog.h" #include "alarmdialog.h"
#include <libkcal/calendarresources.h> #include <libkcal/calendarresources.h>

Loading…
Cancel
Save