diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kparts/tests | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/tests')
-rw-r--r-- | kparts/tests/example.cpp | 2 | ||||
-rw-r--r-- | kparts/tests/ghostview.cpp | 4 | ||||
-rw-r--r-- | kparts/tests/normalktm.cpp | 2 | ||||
-rw-r--r-- | kparts/tests/notepad.cpp | 6 | ||||
-rw-r--r-- | kparts/tests/notepad.desktop | 2 | ||||
-rw-r--r-- | kparts/tests/notepadpart.rc | 4 | ||||
-rw-r--r-- | kparts/tests/parts.cpp | 8 | ||||
-rw-r--r-- | kparts/tests/parts.h | 4 | ||||
-rw-r--r-- | kparts/tests/plugin_foobar.rc | 4 | ||||
-rw-r--r-- | kparts/tests/plugin_spellcheck.rc | 4 |
10 files changed, 20 insertions, 20 deletions
diff --git a/kparts/tests/example.cpp b/kparts/tests/example.cpp index 22c87f30c..a1e8110e5 100644 --- a/kparts/tests/example.cpp +++ b/kparts/tests/example.cpp @@ -79,7 +79,7 @@ void Shell::embedEditor() if ( m_manager->activePart() == m_part2 ) createGUI( 0L ); - // tqreplace part2 with the editor part + // replace part2 with the editor part delete m_part2; m_part2 = 0L; m_editorpart = new NotepadPart( m_splitter, "editor", diff --git a/kparts/tests/ghostview.cpp b/kparts/tests/ghostview.cpp index 2ba2bd1d2..a1ace7720 100644 --- a/kparts/tests/ghostview.cpp +++ b/kparts/tests/ghostview.cpp @@ -25,7 +25,7 @@ Shell::Shell() KAction * paQuit = new KAction( "&Quit" , "exit", 0, this, TQT_SLOT( close() ), actionCollection(), "file_quit" ); - // Try to tqfind a postscript component first + // Try to find a postscript component first KTrader::OfferList offers = KTrader::self()->query("application/postscript", "('KParts/ReadOnlyPart' in ServiceTypes) or ('Browser/View' in ServiceTypes)"); KLibFactory *factory = 0; @@ -47,7 +47,7 @@ Shell::Shell() } } - // if we couldn't tqfind a component with the trader, try the + // if we couldn't find a component with the trader, try the // kghostview library directly. if this ever happens, then something // is seriously screwed up, though -- the kghostview component // should be picked up by the trader diff --git a/kparts/tests/normalktm.cpp b/kparts/tests/normalktm.cpp index e8fdae56d..ec4420a7e 100644 --- a/kparts/tests/normalktm.cpp +++ b/kparts/tests/normalktm.cpp @@ -74,7 +74,7 @@ void Shell::slotFileOpenRemote() void Shell::embedEditor() { - // tqreplace part2 with the editor part + // replace part2 with the editor part delete m_part2; m_part2 = 0L; m_editorpart = new NotepadPart( m_splitter, "editor", diff --git a/kparts/tests/notepad.cpp b/kparts/tests/notepad.cpp index 3a46f76c3..e0857a51e 100644 --- a/kparts/tests/notepad.cpp +++ b/kparts/tests/notepad.cpp @@ -16,17 +16,17 @@ #include <kstatusbar.h> #include <kstandarddirs.h> -NotepadPart::NotepadPart( TQWidget* tqparentWidget, const char*, +NotepadPart::NotepadPart( TQWidget* parentWidget, const char*, TQObject* parent, const char* name, const TQStringList& ) : KParts::ReadWritePart( parent, name ) { setInstance( NotepadFactory::instance() ); - m_edit = new TQMultiLineEdit( tqparentWidget, "NotepadPart's multiline edit" ); + m_edit = new TQMultiLineEdit( parentWidget, "NotepadPart's multiline edit" ); setWidget( m_edit ); - (void)new KAction( "Search and tqreplace", 0, this, TQT_SLOT( slotSearchReplace() ), actionCollection(), "searchtqreplace" ); + (void)new KAction( "Search and replace", 0, this, TQT_SLOT( slotSearchReplace() ), actionCollection(), "searchreplace" ); setXMLFile( "notepadpart.rc" ); setReadWrite( true ); } diff --git a/kparts/tests/notepad.desktop b/kparts/tests/notepad.desktop index 29fd1b17c..e7f1bb432 100644 --- a/kparts/tests/notepad.desktop +++ b/kparts/tests/notepad.desktop @@ -80,7 +80,7 @@ Name[zh_CN]=记事本(例子) Name[zh_HK]=記事本(範例) Name[zh_TW]=記事本(範例) Name[zu]=Incwadi yokubhala (umfanekiso) -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-tqmoc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; +MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; ServiceTypes=KParts/ReadOnlyPart X-KDE-Library=libnotepadpart Type=Service diff --git a/kparts/tests/notepadpart.rc b/kparts/tests/notepadpart.rc index 272f6cbc9..ba30eb322 100644 --- a/kparts/tests/notepadpart.rc +++ b/kparts/tests/notepadpart.rc @@ -3,11 +3,11 @@ <MenuBar> <Menu name="file"><Text>&File</Text> <Menu name="NotepadSubMenu"><text>Notepad Stuff</text> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> </Menu> </Menu> <Menu name="edit"><Text>&Edit</Text> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> </Menu> </MenuBar> <StatusBar/> diff --git a/kparts/tests/parts.cpp b/kparts/tests/parts.cpp index f11f0194f..d932a168f 100644 --- a/kparts/tests/parts.cpp +++ b/kparts/tests/parts.cpp @@ -18,12 +18,12 @@ #include <kaction.h> #include <klocale.h> -Part1::Part1( TQObject *parent, TQWidget * tqparentWidget ) +Part1::Part1( TQObject *parent, TQWidget * parentWidget ) : KParts::ReadOnlyPart( parent, "Part1" ) { m_instance = new KInstance( "kpartstestpart" ); setInstance( m_instance ); - m_edit = new TQMultiLineEdit( tqparentWidget ); + m_edit = new TQMultiLineEdit( parentWidget ); setWidget( m_edit ); setXMLFile( "kpartstest_part1.rc" ); @@ -56,12 +56,12 @@ bool Part1::openFile() return true; } -Part2::Part2( TQObject *parent, TQWidget * tqparentWidget ) +Part2::Part2( TQObject *parent, TQWidget * parentWidget ) : KParts::Part( parent, "Part2" ) { m_instance = new KInstance( "part2" ); setInstance( m_instance ); - TQWidget * w = new TQWidget( tqparentWidget, "Part2Widget" ); + TQWidget * w = new TQWidget( parentWidget, "Part2Widget" ); setWidget( w ); TQCheckBox * cb = new TQCheckBox( "something", w ); diff --git a/kparts/tests/parts.h b/kparts/tests/parts.h index 873a6fea4..6f373a85c 100644 --- a/kparts/tests/parts.h +++ b/kparts/tests/parts.h @@ -13,7 +13,7 @@ class Part1 : public KParts::ReadOnlyPart { Q_OBJECT public: - Part1( TQObject *parent, TQWidget * tqparentWidget ); + Part1( TQObject *parent, TQWidget * parentWidget ); virtual ~Part1(); protected: @@ -28,7 +28,7 @@ class Part2 : public KParts::Part { Q_OBJECT public: - Part2( TQObject *parent, TQWidget * tqparentWidget ); + Part2( TQObject *parent, TQWidget * parentWidget ); virtual ~Part2(); protected: diff --git a/kparts/tests/plugin_foobar.rc b/kparts/tests/plugin_foobar.rc index 377c6b901..e614e505f 100644 --- a/kparts/tests/plugin_foobar.rc +++ b/kparts/tests/plugin_foobar.rc @@ -2,10 +2,10 @@ <kpartplugin library="libfoobar"> <MenuBar> <Menu name="file"><Text>&File</Text> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> </Menu> <Menu name="woohoo"><Text>fun</Text> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> </Menu> </MenuBar> <ToolBar name="gah"/> diff --git a/kparts/tests/plugin_spellcheck.rc b/kparts/tests/plugin_spellcheck.rc index 495148d91..1980186cf 100644 --- a/kparts/tests/plugin_spellcheck.rc +++ b/kparts/tests/plugin_spellcheck.rc @@ -6,9 +6,9 @@ </Menu> <Menu name="SomePluginMenu"><text>Some Cool Plugin Menu</text> <Action name="spellcheck"/> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> <Menu name="WhatASubMenu"><text>Yep</text> - <Action name="searchtqreplace"/> + <Action name="searchreplace"/> </Menu> </Menu> </MenuBar> |