diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 19:57:37 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 19:57:37 +0200 |
commit | 15ae7be824e362e8397532d7d60a3a93055caa41 (patch) | |
tree | 335b1112358991072b87137eb5ae8aa384b57c63 /kword | |
parent | 13402815bec5cb5702aedbd0a8119e40f106c2c1 (diff) | |
download | koffice-15ae7be824e362e8397532d7d60a3a93055caa41.tar.gz koffice-15ae7be824e362e8397532d7d60a3a93055caa41.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'kword')
-rw-r--r-- | kword/HACKING | 4 | ||||
-rw-r--r-- | kword/KWConfig.cpp | 2 | ||||
-rw-r--r-- | kword/KWConfig.h | 2 | ||||
-rw-r--r-- | kword/mailmerge/Makefile.am | 2 | ||||
-rw-r--r-- | kword/mailmerge/kabc/Makefile.am | 17 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/KWMailMergeTDEABC.cpp (renamed from kword/mailmerge/kabc/KWMailMergeTDEABC.cpp) | 2 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/KWMailMergeTDEABC.h (renamed from kword/mailmerge/kabc/KWMailMergeTDEABC.h) | 0 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.cpp (renamed from kword/mailmerge/kabc/KWMailMergeTDEABCConfig.cpp) | 0 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.h (renamed from kword/mailmerge/kabc/KWMailMergeTDEABCConfig.h) | 0 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/Makefile.am | 17 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/addresspicker.ui (renamed from kword/mailmerge/kabc/addresspicker.ui) | 0 | ||||
-rw-r--r-- | kword/mailmerge/tdeabc/kwmailmerge_tdeabc.desktop (renamed from kword/mailmerge/kabc/kwmailmerge_kabc.desktop) | 2 | ||||
-rw-r--r-- | kword/tests/FrameTester.cpp | 4 | ||||
-rw-r--r-- | kword/tests/FrameViewTester.cpp | 4 | ||||
-rw-r--r-- | kword/tests/KWPageManagerTester.cpp | 4 |
15 files changed, 30 insertions, 30 deletions
diff --git a/kword/HACKING b/kword/HACKING index e0ce97a5..b288e2e8 100644 --- a/kword/HACKING +++ b/kword/HACKING @@ -53,8 +53,8 @@ DIRECTORIES: source to allow merging of a (large) number of email addresses into a single document subdirectories: - kabc: - kwmailmerge_kabc.h/cc - KABC addressbook interface + tdeabc: + kwmailmerge_tdeabc.h/cc - KABC addressbook interface sql: various QTSQL interface implementation files to handle table selection and mailmerge data diff --git a/kword/KWConfig.cpp b/kword/KWConfig.cpp index 6d1a28b2..82a96bd3 100644 --- a/kword/KWConfig.cpp +++ b/kword/KWConfig.cpp @@ -136,7 +136,7 @@ void KWConfig::unitChanged( int u ) void KWConfig::openPage(int flags) { - if(flags & KW_KSPELL) + if(flags & KW_TDESPELL) showPage( 2 ); else if(flags & KP_INTERFACE) showPage(0 ); diff --git a/kword/KWConfig.h b/kword/KWConfig.h index bc864ff8..8700bcb2 100644 --- a/kword/KWConfig.h +++ b/kword/KWConfig.h @@ -187,7 +187,7 @@ class KWConfig : public KDialogBase Q_OBJECT public: - enum { KW_KSPELL=1,KP_INTERFACE=2,KP_MISC=4, KP_DOCUMENT=8, KP_FORMULA=16, KP_PATH = 32}; + enum { KW_TDESPELL=1,KP_INTERFACE=2,KP_MISC=4, KP_DOCUMENT=8, KP_FORMULA=16, KP_PATH = 32}; KWConfig( KWView* parent ); void openPage(int flags); public slots: diff --git a/kword/mailmerge/Makefile.am b/kword/mailmerge/Makefile.am index f0a10db5..773e4308 100644 --- a/kword/mailmerge/Makefile.am +++ b/kword/mailmerge/Makefile.am @@ -18,5 +18,5 @@ if include_sql SQLDIRECTORY=sql endif -SUBDIRS = . kabc kspread $(SQLDIRECTORY) +SUBDIRS = . tdeabc kspread $(SQLDIRECTORY) diff --git a/kword/mailmerge/kabc/Makefile.am b/kword/mailmerge/kabc/Makefile.am deleted file mode 100644 index 98231fed..00000000 --- a/kword/mailmerge/kabc/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ - -KDE_CXXFLAGS = $(USE_RTTI) -INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/lib/kformula \ - $(KOTEXT_INCLUDES) -I$(top_srcdir)/kword $(all_includes) - -kde_module_LTLIBRARIES = kwmailmerge_kabc.la - -## Plugin encapsulating the QT SQL database interface -kwmailmerge_kabc_la_SOURCES = KWMailMergeTDEABC.cpp KWMailMergeTDEABCConfig.cpp addresspicker.ui -kwmailmerge_kabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts -kwmailmerge_kabc_la_LIBADD = $(KOFFICE_LIBS) ../../libkwmailmerge_interface.la $(LIB_TDEUI) $(LIB_TDEABC) - -METASOURCES = AUTO - -services_DATA=kwmailmerge_kabc.desktop -servicesdir=$(kde_servicesdir) - diff --git a/kword/mailmerge/kabc/KWMailMergeTDEABC.cpp b/kword/mailmerge/tdeabc/KWMailMergeTDEABC.cpp index dce0f5da..2be13003 100644 --- a/kword/mailmerge/kabc/KWMailMergeTDEABC.cpp +++ b/kword/mailmerge/tdeabc/KWMailMergeTDEABC.cpp @@ -537,7 +537,7 @@ TQStringList KWMailMergeTDEABC::singleRecords() const extern "C" { - KWORD_MAILMERGE_EXPORT KWMailMergeDataSource *create_kwmailmerge_kabc( TDEInstance *inst, TQObject *parent ) + KWORD_MAILMERGE_EXPORT KWMailMergeDataSource *create_kwmailmerge_tdeabc( TDEInstance *inst, TQObject *parent ) { return new KWMailMergeTDEABC( inst, parent ); } diff --git a/kword/mailmerge/kabc/KWMailMergeTDEABC.h b/kword/mailmerge/tdeabc/KWMailMergeTDEABC.h index 3db02d91..3db02d91 100644 --- a/kword/mailmerge/kabc/KWMailMergeTDEABC.h +++ b/kword/mailmerge/tdeabc/KWMailMergeTDEABC.h diff --git a/kword/mailmerge/kabc/KWMailMergeTDEABCConfig.cpp b/kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.cpp index 440e208a..440e208a 100644 --- a/kword/mailmerge/kabc/KWMailMergeTDEABCConfig.cpp +++ b/kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.cpp diff --git a/kword/mailmerge/kabc/KWMailMergeTDEABCConfig.h b/kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.h index 1a23b44c..1a23b44c 100644 --- a/kword/mailmerge/kabc/KWMailMergeTDEABCConfig.h +++ b/kword/mailmerge/tdeabc/KWMailMergeTDEABCConfig.h diff --git a/kword/mailmerge/tdeabc/Makefile.am b/kword/mailmerge/tdeabc/Makefile.am new file mode 100644 index 00000000..0856d2c6 --- /dev/null +++ b/kword/mailmerge/tdeabc/Makefile.am @@ -0,0 +1,17 @@ + +KDE_CXXFLAGS = $(USE_RTTI) +INCLUDES = $(KOFFICE_INCLUDES) -I$(top_srcdir)/lib/kformula \ + $(KOTEXT_INCLUDES) -I$(top_srcdir)/kword $(all_includes) + +kde_module_LTLIBRARIES = kwmailmerge_tdeabc.la + +## Plugin encapsulating the QT SQL database interface +kwmailmerge_tdeabc_la_SOURCES = KWMailMergeTDEABC.cpp KWMailMergeTDEABCConfig.cpp addresspicker.ui +kwmailmerge_tdeabc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lDCOP -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts +kwmailmerge_tdeabc_la_LIBADD = $(KOFFICE_LIBS) ../../libkwmailmerge_interface.la $(LIB_TDEUI) $(LIB_TDEABC) + +METASOURCES = AUTO + +services_DATA=kwmailmerge_tdeabc.desktop +servicesdir=$(kde_servicesdir) + diff --git a/kword/mailmerge/kabc/addresspicker.ui b/kword/mailmerge/tdeabc/addresspicker.ui index 44dc8c8f..44dc8c8f 100644 --- a/kword/mailmerge/kabc/addresspicker.ui +++ b/kword/mailmerge/tdeabc/addresspicker.ui diff --git a/kword/mailmerge/kabc/kwmailmerge_kabc.desktop b/kword/mailmerge/tdeabc/kwmailmerge_tdeabc.desktop index f300c0be..924d6516 100644 --- a/kword/mailmerge/kabc/kwmailmerge_kabc.desktop +++ b/kword/mailmerge/tdeabc/kwmailmerge_tdeabc.desktop @@ -100,6 +100,6 @@ Comment[uk]=Цей тип джерела даних дає доступ до з Comment[zh_CN]=该数据源类型允许您使用您的 TDE 地址簿条目。 Comment[zh_TW]=這個資料來源類別讓您使用您的 TDE 通訊錄項目。 -X-TDE-Library=kwmailmerge_kabc +X-TDE-Library=kwmailmerge_tdeabc X-TDE-Capabilities=open X-TDE-InternalName=KABC diff --git a/kword/tests/FrameTester.cpp b/kword/tests/FrameTester.cpp index a5ccd80a..4c5c57c3 100644 --- a/kword/tests/FrameTester.cpp +++ b/kword/tests/FrameTester.cpp @@ -25,8 +25,8 @@ using namespace KUnitTest; -KUNITTEST_MODULE(tdeunittest_FrameTester, "Frame Tester"); -KUNITTEST_MODULE_REGISTER_TESTER(KWFrameTester); +TDEUNITTEST_MODULE(tdeunittest_FrameTester, "Frame Tester"); +TDEUNITTEST_MODULE_REGISTER_TESTER(KWFrameTester); void KWFrameTester::allTests() { int argc = 0; diff --git a/kword/tests/FrameViewTester.cpp b/kword/tests/FrameViewTester.cpp index e438188d..c91de7e6 100644 --- a/kword/tests/FrameViewTester.cpp +++ b/kword/tests/FrameViewTester.cpp @@ -30,8 +30,8 @@ using namespace KUnitTest; -KUNITTEST_MODULE(tdeunittest_FrameViewTester, "FrameView Tester"); -KUNITTEST_MODULE_REGISTER_TESTER(KWFrameViewTester); +TDEUNITTEST_MODULE(tdeunittest_FrameViewTester, "FrameView Tester"); +TDEUNITTEST_MODULE_REGISTER_TESTER(KWFrameViewTester); void KWFrameViewTester::allTests() { testListeners(); diff --git a/kword/tests/KWPageManagerTester.cpp b/kword/tests/KWPageManagerTester.cpp index 98a82233..ee4c09de 100644 --- a/kword/tests/KWPageManagerTester.cpp +++ b/kword/tests/KWPageManagerTester.cpp @@ -26,8 +26,8 @@ using namespace KUnitTest; -KUNITTEST_MODULE(tdeunittest_KWPageManagerTester, "PageManager Tester"); -KUNITTEST_MODULE_REGISTER_TESTER(KWPageManagerTester); +TDEUNITTEST_MODULE(tdeunittest_KWPageManagerTester, "PageManager Tester"); +TDEUNITTEST_MODULE_REGISTER_TESTER(KWPageManagerTester); void KWPageManagerTester::allTests() { getAddPages(); |