mainwindow don't call slotLoad() at startup anymore and slotSave() does not automatic...
authorMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 14:33:05 +0000 (14:33 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 2 Dec 2000 14:33:05 +0000 (14:33 +0000)
Makefile
adress.pro
mainwindow.cpp

index 185dd6b..7d6e717 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #############################################################################
 # Makefile for building adress
-# Generated by tmake at 18:07, 2000/12/01
+# Generated by tmake at 15:20, 2000/12/02
 #     Project: adress
 #    Template: app
 #############################################################################
@@ -109,7 +109,8 @@ contact.o: contact.cpp \
 
 main.o: main.cpp \
                mainwindow.h \
-               ui/mainwindowbase.h
+               ui/mainwindowbase.h \
+               contact.h
 
 mainwindow.o: mainwindow.cpp \
                mainwindow.h \
@@ -143,18 +144,16 @@ searchresultbase.h: ui/searchresultbase.ui
 ui/searchresultbase.cpp: ui/searchresultbase.ui
        $(UIC) ui/searchresultbase.ui -i searchresultbase.h -o ui/searchresultbase.cpp
 
-ui/contactmodifyerbase.o: ui/contactmodifyerbase.cpp \
-               ui/contactmodifyerbase.h
+ui/contactmodifyerbase.o: ui/contactmodifyerbase.cpp
 
-ui/mainwindowbase.o: ui/mainwindowbase.cpp \
-               ui/mainwindowbase.h
+ui/mainwindowbase.o: ui/mainwindowbase.cpp
 
-ui/searchresultbase.o: ui/searchresultbase.cpp \
-               ui/searchresultbase.h
+ui/searchresultbase.o: ui/searchresultbase.cpp
 
 moc_mainwindow.o: moc_mainwindow.cpp \
                mainwindow.h \
-               ui/mainwindowbase.h
+               ui/mainwindowbase.h \
+               contact.h
 
 ui/moc_contactmodifyerbase.o: ui/moc_contactmodifyerbase.cpp \
                ui/contactmodifyerbase.h
index fd2afb6..b597883 100644 (file)
@@ -1,10 +1,10 @@
 TEMPLATE       = app
 CONFIG         = qt warn_on debug
 HEADERS                = contact.h \
-                 mainwindow.h 
+                 mainwindow.h
 SOURCES                = contact.cpp \
                  main.cpp \
-                 mainwindow.cpp 
+                 mainwindow.cpp
 INTERFACES     = ui/contactmodifyerbase.ui \
                  ui/mainwindowbase.ui \
                  ui/searchresultbase.ui
index 4552b94..ce83c8c 100644 (file)
@@ -8,7 +8,6 @@
 MainWindow::MainWindow( QWidget* parent,  const char* name, WFlags fl )
     : CMainWindowBase( parent, name, fl )
 {
-       slotLoad();
 }
 
 /*  
@@ -104,7 +103,7 @@ void MainWindow::slotSearch()
     qWarning( "MainWindow::slotSearch() not yet implemented!" ); 
 }
 
-void slotModify(QListViewItem* lvi)
+void MainWindow::slotModify(QListViewItem* lvi)
 {
     qWarning( "MainWindow::slotModif(QListViewItem*) not yet implemented!" ); 
 }