From f2bfcad7ffdd09911f282afe2a2051b3708601c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:51 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- tdeio/tdefile/tests/kfstest.cpp | 2 +- tdeio/tdefile/tests/kicondialogtest.cpp | 4 ++-- tdeio/tdefile/tests/tdefiletreeviewtest.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdeio/tdefile/tests') diff --git a/tdeio/tdefile/tests/kfstest.cpp b/tdeio/tdefile/tests/kfstest.cpp index f6ee69687..0a2a698f5 100644 --- a/tdeio/tdefile/tests/kfstest.cpp +++ b/tdeio/tdefile/tests/kfstest.cpp @@ -125,7 +125,7 @@ int main(int argc, char **argv) } else if (argv1 == TQString::fromLatin1("icon")) { - KIconDialog dlg; + TDEIconDialog dlg; TQString icon = dlg.selectIcon(); kdDebug() << icon << endl; } diff --git a/tdeio/tdefile/tests/kicondialogtest.cpp b/tdeio/tdefile/tests/kicondialogtest.cpp index b2c56e159..c3f7a827d 100644 --- a/tdeio/tdefile/tests/kicondialogtest.cpp +++ b/tdeio/tdefile/tests/kicondialogtest.cpp @@ -5,9 +5,9 @@ int main( int argc, char **argv ) { TDEApplication app( argc, argv, "kicondialogtest" ); -// KIconDialog::getIcon(); +// TDEIconDialog::getIcon(); - KIconButton button; + TDEIconButton button; app.setMainWidget( &button ); button.show(); diff --git a/tdeio/tdefile/tests/tdefiletreeviewtest.cpp b/tdeio/tdefile/tests/tdefiletreeviewtest.cpp index dfa59540d..689472597 100644 --- a/tdeio/tdefile/tests/tdefiletreeviewtest.cpp +++ b/tdeio/tdefile/tests/tdefiletreeviewtest.cpp @@ -66,9 +66,9 @@ void testFrame::showPath( const KURL &url ) { TQString fname = "TestBranch"; // url.fileName (); /* try a user icon */ - KIconLoader *loader = TDEGlobal::iconLoader(); - TQPixmap pix = loader->loadIcon( "contents2", KIcon::Small ); - TQPixmap pixOpen = loader->loadIcon( "contents", KIcon::Small ); + TDEIconLoader *loader = TDEGlobal::iconLoader(); + TQPixmap pix = loader->loadIcon( "contents2", TDEIcon::Small ); + TQPixmap pixOpen = loader->loadIcon( "contents", TDEIcon::Small ); KFileTreeBranch *nb = treeView->addBranch( url, fname, pix ); -- cgit v1.2.1