summaryrefslogtreecommitdiffstats
path: root/tdeparts/tests/example.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:13:01 -0600
commitdeac2ca49faed824fe83066080714eb6d653615b (patch)
tree8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /tdeparts/tests/example.cpp
parent0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff)
downloadtdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz
tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tdeparts/tests/example.cpp')
-rw-r--r--tdeparts/tests/example.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeparts/tests/example.cpp b/tdeparts/tests/example.cpp
index e8495ffe9..34a96a334 100644
--- a/tdeparts/tests/example.cpp
+++ b/tdeparts/tests/example.cpp
@@ -32,19 +32,19 @@ Shell::Shell()
m_part1 = new Part1(this, m_splitter);
m_part2 = new Part2(this, m_splitter);
- KActionCollection *coll = actionCollection();
+ TDEActionCollection *coll = actionCollection();
- (void)new KAction( "&View local file", 0, this, TQT_SLOT( slotFileOpen() ), coll, "open_local_file" );
- (void)new KAction( "&View remote file", 0, this, TQT_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
+ (void)new TDEAction( "&View local file", 0, this, TQT_SLOT( slotFileOpen() ), coll, "open_local_file" );
+ (void)new TDEAction( "&View remote file", 0, this, TQT_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
- m_paEditFile = new KAction( "&Edit file", 0, this, TQT_SLOT( slotFileEdit() ), coll, "edit_file" );
- m_paCloseEditor = new KAction( "&Close file editor", 0, this, TQT_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
+ m_paEditFile = new TDEAction( "&Edit file", 0, this, TQT_SLOT( slotFileEdit() ), coll, "edit_file" );
+ m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQT_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
m_paCloseEditor->setEnabled(false);
- KAction * paQuit = new KAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
+ TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
paQuit->setIconSet(TQIconSet(BarIcon("exit")));
- (void)new KAction( "Yet another menu item", 0, coll, "shell_yami" );
- (void)new KAction( "Yet another submenu item", 0, coll, "shell_yasmi" );
+ (void)new TDEAction( "Yet another menu item", 0, coll, "shell_yami" );
+ (void)new TDEAction( "Yet another submenu item", 0, coll, "shell_yasmi" );
setCentralWidget( m_splitter );
m_splitter->setMinimumSize( 400, 300 );