[Kita-svn] [2396] - use KMessageBox instead of QMessageBox

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 7月 11日 (土) 20:18:43 JST


Revision: 2396
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2396
Author:   nogu
Date:     2009-07-11 20:18:43 +0900 (Sat, 11 Jul 2009)

Log Message:
-----------
- use KMessageBox instead of QMessageBox
- remove unneeded '#include <QtGui/QMessageBox>'

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.cpp
    kita/branches/KITA-KDE4/kita/src/mainwindow.cpp
    kita/branches/KITA-KDE4/kita/src/prefs/prefs.cpp
    kita/branches/KITA-KDE4/kita/src/threadtabwidget.cpp
    kita/branches/KITA-KDE4/kita/src/threadview.cpp

Modified: kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.cpp	2009-07-11 10:00:37 UTC (rev 2395)
+++ kita/branches/KITA-KDE4/kita/src/kitaui/tabwidgetbase.cpp	2009-07-11 11:18:43 UTC (rev 2396)
@@ -15,7 +15,6 @@
 #include <QtCore/QCustomEvent>
 #include <QtGui/QApplication>
 #include <QtGui/QFontMetrics>
-#include <QtGui/QMessageBox>
 #include <Qt3Support/Q3PtrList>
 
 #include <kaction.h>

Modified: kita/branches/KITA-KDE4/kita/src/mainwindow.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/mainwindow.cpp	2009-07-11 10:00:37 UTC (rev 2395)
+++ kita/branches/KITA-KDE4/kita/src/mainwindow.cpp	2009-07-11 11:18:43 UTC (rev 2396)
@@ -15,7 +15,6 @@
 #include <QtCore/QTextCodec>
 #include <QtGui/QClipboard>
 #include <QtGui/QLayout>
-#include <QtGui/QMessageBox>
 #include <QtGui/QPushButton>
 #include <QtGui/QSplitter>
 #include <Qt3Support/Q3DragObject>

Modified: kita/branches/KITA-KDE4/kita/src/prefs/prefs.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/prefs/prefs.cpp	2009-07-11 10:00:37 UTC (rev 2395)
+++ kita/branches/KITA-KDE4/kita/src/prefs/prefs.cpp	2009-07-11 11:18:43 UTC (rev 2396)
@@ -14,7 +14,6 @@
 #include <QtGui/QCheckBox>
 #include <QtGui/QLabel>
 #include <QtGui/QLayout>
-#include <QtGui/QMessageBox>
 #include <QtGui/QPushButton>
 #include <QtGui/QSpinBox>
 #include <Qt3Support/Q3ListBox>

Modified: kita/branches/KITA-KDE4/kita/src/threadtabwidget.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/threadtabwidget.cpp	2009-07-11 10:00:37 UTC (rev 2395)
+++ kita/branches/KITA-KDE4/kita/src/threadtabwidget.cpp	2009-07-11 11:18:43 UTC (rev 2396)
@@ -13,7 +13,6 @@
 #include <QtCore/QRegExp>
 #include <QtGui/QApplication>
 #include <QtGui/QClipboard>
-#include <QtGui/QMessageBox>
 
 #include <kaction.h>
 #include <kactioncollection.h>

Modified: kita/branches/KITA-KDE4/kita/src/threadview.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/threadview.cpp	2009-07-11 10:00:37 UTC (rev 2395)
+++ kita/branches/KITA-KDE4/kita/src/threadview.cpp	2009-07-11 11:18:43 UTC (rev 2396)
@@ -16,7 +16,6 @@
 #include <QtGui/QCursor>
 #include <QtGui/QLabel>
 #include <QtGui/QLayout>
-#include <QtGui/QMessageBox>
 #include <QtGui/QProgressDialog>
 #include <QtGui/QToolButton>
 #include <QtGui/QTextBrowser>
@@ -530,7 +529,7 @@
         }
     }
 
-    QMessageBox::information(this, i18n("kita"), i18n("Not Found"));
+    KMessageBox::information(this, i18n("Not Found"), i18n("kita"));
 }
 
 /* public slot */




Kita-svn メーリングリストの案内
Back to archive index